:root {
  --font-geist-sans: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-geist-mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --ink: #102118;
  --ink-soft: #5b685e;
  --night: #062714;
  --night-2: #0a3a1d;
  --paper: #fbfff3;
  --white: #ffffff;
  --violet: #20b928;
  --violet-light: #fff06a;
  --magenta: #ffec00;
  --blue: #14963a;
  --gold: #ffef35;
  --cyan: #83c91f;
  --green: #45c94f;
  --border: rgba(16, 33, 24, 0.12);
  --shadow: 0 24px 70px rgba(5, 52, 21, 0.14);
  --page: min(1180px, calc(100vw - 48px));
}

@theme inline {
  --color-background: var(--paper);
  --color-foreground: var(--ink);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

.hosting-setup-banner {
  position: fixed;
  z-index: 70;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 237, 0, 0.32);
  border-radius: 13px;
  color: #fff;
  background: rgba(3, 31, 16, 0.94);
  box-shadow: 0 20px 54px rgba(3, 31, 16, 0.28);
  font-size: 11px;
}

.hosting-setup-banner a {
  color: var(--magenta);
  font-weight: 800;
}

[data-territory-panel] {
  display: none;
}

[data-territory-panel].is-active {
  display: grid;
}

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

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

.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 50;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--page);
  padding: 0 12px 0 14px;
  margin-inline: auto;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: var(--white);
  background: rgba(4, 45, 19, 0.72);
  box-shadow: 0 14px 44px rgba(2, 24, 9, 0.16);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  overflow: hidden;
  display: block;
  flex: 0 0 auto;
  border: 2px solid var(--green);
  border-radius: 11px 11px 11px 4px;
  background: var(--magenta);
  box-shadow: 0 10px 26px rgba(255, 236, 0, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 650;
}

.desktop-nav > a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.desktop-nav > a:not(.nav-cta):hover {
  color: var(--white);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 236, 0, 0.38);
  border-radius: 999px;
  background: rgba(255, 236, 0, 0.1);
  backdrop-filter: blur(12px);
}

.nav-cta span {
  color: var(--magenta);
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.84fr);
  align-items: center;
  gap: 72px;
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 100px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 42%, rgba(31, 185, 43, 0.22), transparent 34%),
    linear-gradient(125deg, #031b0b 0%, #07391a 56%, #042410 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(6px);
  pointer-events: none;
}

.hero-glow-one {
  width: 430px;
  height: 430px;
  right: 4%;
  top: 18%;
  border: 1px solid rgba(255, 236, 0, 0.22);
  box-shadow:
    inset 0 0 80px rgba(255, 236, 0, 0.06),
    0 0 100px rgba(31, 185, 43, 0.08);
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  right: 21%;
  bottom: -90px;
  background: rgba(255, 236, 0, 0.12);
  filter: blur(70px);
}

.hero-copy,
.hero-visual,
.hero-scroll {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.67);
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 5px rgba(255, 236, 0, 0.13);
}

.hero-kicker {
  margin: 34px 0 12px;
  color: var(--violet-light);
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0.03em;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(68px, 7.25vw, 112px);
  line-height: 0.86;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 255, 255, 0.74);
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 13px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 720;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #07391a;
  background: linear-gradient(135deg, var(--magenta), #fff86a);
  box-shadow: 0 16px 38px rgba(255, 236, 0, 0.2);
}

.button-primary:hover {
  box-shadow: 0 20px 45px rgba(255, 236, 0, 0.32);
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 38px;
  background: url("../../progresemos-logo.png") center / cover no-repeat;
  opacity: 0.035;
  transform: rotate(-8deg);
  pointer-events: none;
}

.candidate-card {
  position: relative;
  width: min(100%, 400px);
  height: 475px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  border: 2px solid rgba(255, 236, 0, 0.62);
  border-radius: 200px 200px 26px 26px;
  background: #f6f6f0;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.candidate-card::before,
.candidate-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.candidate-card::before {
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(3, 27, 11, 0.98) 0%,
    rgba(3, 35, 14, 0.78) 23%,
    rgba(3, 35, 14, 0.12) 54%,
    transparent 70%
  );
}

.candidate-card::after {
  z-index: 4;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.candidate-photo {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

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

.candidate-card-copy {
  position: relative;
  z-index: 3;
  display: grid;
}

.candidate-card-copy small {
  color: var(--violet-light);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.candidate-card-copy strong {
  margin-top: 7px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.candidate-card-copy span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--font-geist-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.candidate-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 236, 0, 0.18);
}

.candidate-orbit-one {
  width: 500px;
  height: 500px;
}

.candidate-orbit-two {
  width: 575px;
  height: 575px;
  border-color: rgba(255, 236, 0, 0.11);
}

.hero-badge {
  position: absolute;
  right: -16px;
  bottom: 74px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(5, 47, 20, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.hero-badge > span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  color: #24320c;
  background: var(--gold);
  font-size: 13px;
}

.hero-badge > span img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-badge p {
  display: grid;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.2;
}

.hero-badge strong {
  color: var(--white);
  font-size: 13px;
}

.hero-scroll {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, var(--magenta), rgba(255, 255, 255, 0.1));
}

.section-shell {
  width: var(--page);
  margin-inline: auto;
}

.candidate-section {
  position: relative;
  padding: 126px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 82%, rgba(31, 185, 43, 0.07), transparent 30%),
    var(--paper);
}

.candidate-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.08fr;
  gap: 88px;
  align-items: start;
}

.candidate-portrait {
  position: relative;
  position: sticky;
  top: 104px;
}

.portrait-frame {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 30px;
  background: #f6f6f0;
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, rgba(3, 46, 18, 0.46), transparent);
  pointer-events: none;
}

.portrait-frame::after {
  content: "";
  z-index: 3;
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.portrait-tag {
  position: absolute;
  z-index: 5;
  right: -44px;
  bottom: 65px;
  max-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 17px;
  border: 1px solid rgba(16, 33, 24, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 45px rgba(7, 58, 26, 0.16);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 690;
  line-height: 1.35;
}

.portrait-tag span {
  width: 33px;
  height: 33px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #083b1b;
  background: var(--magenta);
}

.section-label {
  margin: 0 0 20px;
  color: var(--violet);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.candidate-story h2,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(43px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 780;
}

.candidate-story h2 span,
.section-heading h2 span {
  display: block;
  color: var(--violet);
}

.candidate-name {
  margin: 25px 0 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-lead {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.8;
}

.story-body {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.78;
}

.candidate-story blockquote {
  position: relative;
  margin: 30px 0 0;
  padding: 5px 0 5px 23px;
  border-left: 3px solid var(--magenta);
  color: #29372d;
  font-size: 15px;
  font-weight: 570;
  font-style: italic;
  line-height: 1.7;
}

.candidate-origin-note {
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 112px;
  margin-top: 27px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 13px 34px rgba(7, 57, 25, 0.06);
}

.candidate-origin-media {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

.candidate-origin-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(3, 34, 13, 0.2));
  pointer-events: none;
}

.candidate-origin-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.candidate-origin-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 19px 21px;
}

.candidate-origin-copy span,
.candidate-commitment > span {
  color: var(--violet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.candidate-origin-copy strong {
  max-width: 360px;
  margin-top: 7px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}

.candidate-commitment {
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 3px solid var(--magenta);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 236, 0, 0.08);
}

.candidate-commitment p {
  margin: 8px 0 0;
  color: #29372d;
  font-size: 13px;
  font-weight: 590;
  line-height: 1.7;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
  margin-top: 27px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.value-number {
  grid-row: span 2;
  color: var(--violet);
  font-family: var(--font-geist-mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.value-card strong {
  font-size: 13px;
}

.value-card small {
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.proposals-section {
  padding: 120px 0 130px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 10%, rgba(31, 185, 43, 0.18), transparent 30%),
    linear-gradient(140deg, #031b0b, #07391a 60%, #042611);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.64fr;
  gap: 80px;
  align-items: end;
}

.section-heading h2 {
  color: var(--white);
}

.section-heading h2 span {
  color: var(--violet-light);
}

.section-label-light {
  color: var(--magenta);
}

.section-heading > p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  line-height: 1.75;
}

.proposal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 58px;
}

.proposal-card {
  --card-accent: var(--violet-light);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.proposal-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--card-accent) 50%, transparent);
  background: rgba(255, 255, 255, 0.07);
}

.proposal-card.blue {
  --card-accent: var(--blue);
}

.proposal-card.magenta {
  --card-accent: var(--magenta);
}

.proposal-card.gold {
  --card-accent: var(--gold);
}

.proposal-card.cyan {
  --card-accent: var(--cyan);
}

.proposal-card.green {
  --card-accent: var(--green);
}

.proposal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.proposal-number {
  color: var(--card-accent);
  font-family: var(--font-geist-mono);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.proposal-arrow {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
}

.proposal-card h3 {
  max-width: 250px;
  margin: 46px 0 13px;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.proposal-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.51);
  font-size: 12px;
  line-height: 1.7;
}

.proposal-line {
  width: 34px;
  height: 2px;
  margin-top: auto;
  background: var(--card-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--card-accent) 70%, transparent);
}

.territory-explorer {
  padding: 118px 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 236, 0, 0.12), transparent 24%),
    #f4f9ed;
}

.territory-explorer-heading {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 80px;
  align-items: end;
}

.territory-explorer-heading h2,
.agenda-heading h2 {
  margin: 0;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.territory-explorer-heading h2 span,
.agenda-heading h2 span {
  display: block;
  color: var(--violet);
}

.territory-explorer-heading > p,
.agenda-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.territory-selector {
  display: flex;
  gap: 9px;
  margin-top: 52px;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.territory-selector button {
  min-width: 158px;
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px 15px;
  border: 1px solid rgba(16, 33, 24, 0.12);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  text-align: left;
  cursor: pointer;
}

.territory-selector button span {
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.territory-selector button strong {
  font-size: 13px;
}

.territory-selector button.is-active {
  border-color: var(--violet);
  color: white;
  background: var(--night);
  box-shadow: 0 13px 28px rgba(6, 39, 20, 0.13);
}

.territory-selector button.is-active span {
  color: var(--violet-light);
}

.territory-explorer-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  min-height: 560px;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: white;
  box-shadow: 0 26px 70px rgba(6, 48, 20, 0.09);
}

.territory-explorer-cover {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 34px;
  color: white;
  background: linear-gradient(145deg, var(--night), var(--night-2));
}

.territory-explorer-cover > img,
.territory-explorer-cover > div {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.territory-explorer-cover > img {
  object-fit: cover;
}

.territory-explorer-cover > div {
  background:
    linear-gradient(180deg, rgba(4, 35, 17, 0.06), rgba(3, 27, 13, 0.91)),
    linear-gradient(90deg, rgba(3, 27, 13, 0.35), transparent);
}

.territory-explorer-cover > span,
.territory-explorer-cover h3,
.territory-explorer-cover p {
  position: relative;
  z-index: 1;
}

.territory-explorer-cover > span {
  width: max-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--night);
  background: var(--magenta);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.territory-explorer-cover h3 {
  margin: 15px 0 11px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.territory-explorer-cover p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.territory-explorer-projects {
  padding: 30px;
}

.territory-explorer-projects-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.territory-explorer-projects-heading span {
  color: var(--violet);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.territory-explorer-projects-heading strong {
  color: var(--violet);
  font-size: 26px;
}

.managed-project-grid {
  display: grid;
  gap: 8px;
}

.managed-project-card {
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fbfdf9;
}

.managed-project-card summary {
  min-height: 76px;
  display: grid;
  grid-template-columns: 33px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.managed-project-card summary::-webkit-details-marker {
  display: none;
}

.managed-project-card summary > span {
  color: var(--violet);
  font-family: var(--font-geist-mono);
  font-size: 9px;
  font-weight: 800;
}

.managed-project-card summary > div {
  display: grid;
  gap: 5px;
}

.managed-project-card summary small {
  color: var(--ink-soft);
  font-size: 7px;
  font-weight: 720;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.managed-project-card summary strong {
  font-size: 11px;
}

.managed-project-card summary b {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--night);
  background: var(--magenta);
  font-size: 13px;
  transition: transform 180ms ease;
}

.managed-project-card[open] summary b {
  transform: rotate(45deg);
}

.managed-project-detail {
  padding: 0 14px 17px 59px;
}

.managed-project-detail > p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.65;
}

.managed-project-detail > a {
  display: inline-flex;
  gap: 7px;
  margin-top: 6px;
  color: var(--violet);
  font-size: 9px;
  font-weight: 780;
}

.managed-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 14px 0;
}

.managed-before-after figure {
  overflow: hidden;
  margin: 0;
  border-radius: 10px;
  background: var(--night);
}

.managed-before-after img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.managed-before-after figcaption {
  padding: 8px;
  color: white;
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.managed-project-empty {
  min-height: 300px;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 35px;
  border: 1px dashed rgba(20, 150, 58, 0.3);
  border-radius: 15px;
  text-align: center;
  background: #f7fbf4;
}

.managed-project-empty span {
  color: var(--violet);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.managed-project-empty p {
  max-width: 360px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.territory-section {
  padding: 124px 0 132px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 236, 0, 0.09), transparent 25%),
    linear-gradient(180deg, #fbfff3, #f4f9eb);
}

.territory-heading {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  gap: 90px;
  align-items: end;
}

.territory-heading h2 {
  margin: 0;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 780;
}

.territory-heading h2 span {
  display: block;
  color: var(--violet);
}

.territory-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.territory-plan {
  overflow: hidden;
  margin-top: 58px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.territory-banner {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}

.territory-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 68%;
}

.territory-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 27, 10, 0.92) 0%, rgba(2, 31, 12, 0.68) 48%, rgba(2, 31, 12, 0.24) 100%),
    linear-gradient(to top, rgba(2, 25, 9, 0.72), transparent 62%);
}

.territory-banner-copy {
  position: relative;
  z-index: 2;
  min-height: 365px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 46px;
}

.territory-banner-copy > div {
  max-width: 680px;
}

.territory-banner-copy > div > span {
  color: var(--magenta);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.territory-banner-copy h3 {
  margin: 9px 0 14px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.territory-banner-copy p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.65;
}

.territory-pdf-button {
  min-width: 210px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 236, 0, 0.34);
  border-radius: 16px;
  background: rgba(255, 236, 0, 0.1);
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.territory-pdf-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 236, 0, 0.17);
}

.territory-pdf-button > span {
  display: grid;
  gap: 5px;
  font-size: 11px;
  font-weight: 750;
}

.territory-pdf-button small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.territory-pdf-button strong {
  color: var(--magenta);
  font-size: 18px;
}

.territory-projects-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px 22px;
}

.territory-projects-heading p {
  margin: 0;
  font-size: 17px;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.territory-projects-heading span {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.territory-project-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fbfdf8;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.territory-project-card[open] {
  border-color: rgba(32, 185, 40, 0.34);
  box-shadow: 0 14px 35px rgba(7, 57, 25, 0.08);
}

.territory-project-card summary {
  min-height: 142px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: start;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.territory-project-card summary::-webkit-details-marker {
  display: none;
}

.territory-project-number {
  margin-top: 2px;
  color: var(--violet);
  font-family: var(--font-geist-mono);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.1em;
}

.territory-project-title {
  display: grid;
  gap: 9px;
}

.territory-project-title small {
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.territory-project-title strong {
  font-size: 15px;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.territory-project-plus {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--violet);
  font-size: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

.territory-project-card[open] .territory-project-plus {
  transform: rotate(45deg);
}

.territory-project-detail {
  padding: 18px 20px 20px 45px;
  border-top: 1px solid var(--border);
}

.territory-project-detail p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.territory-project-detail > span {
  display: block;
  margin-top: 14px;
  color: var(--violet);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.territory-visual-showcase {
  overflow: hidden;
  margin: 8px 22px 24px;
  padding: 34px;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 236, 0, 0.12), transparent 28%),
    linear-gradient(145deg, #042410, #07381a 62%, #052a13);
}

.territory-visual-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
  gap: 44px;
  align-items: end;
}

.territory-visual-heading > div > p {
  margin: 0 0 11px;
  color: var(--magenta);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.territory-visual-heading h4 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.territory-visual-heading > div > span {
  max-width: 650px;
  display: block;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.territory-visual-disclaimer {
  padding: 18px;
  border: 1px solid rgba(255, 236, 0, 0.36);
  border-radius: 16px;
  background: rgba(255, 236, 0, 0.09);
}

.territory-visual-disclaimer strong {
  display: block;
  color: var(--magenta);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.territory-visual-disclaimer p {
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.6;
}

.territory-visual-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 31%);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin: 30px -34px 0;
  padding: 0 34px 18px;
  scroll-padding-inline: 34px;
  scroll-snap-type: inline mandatory;
  scrollbar-color: rgba(255, 236, 0, 0.8) rgba(255, 255, 255, 0.09);
  scrollbar-width: thin;
}

.territory-visual-track::-webkit-scrollbar {
  height: 7px;
}

.territory-visual-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.territory-visual-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--magenta);
}

.territory-visual-track.is-single {
  grid-auto-columns: minmax(0, 760px);
}

.territory-visual-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: #031c0b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  scroll-snap-align: start;
}

.territory-visual-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: contain;
  background: #061f10;
}

.territory-visual-track.is-single .territory-visual-card img {
  aspect-ratio: 4 / 3;
}

.territory-visual-card figcaption {
  display: grid;
  gap: 5px;
  padding: 15px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.territory-visual-card figcaption strong {
  font-size: 12px;
  letter-spacing: -0.01em;
}

.territory-visual-card figcaption span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.territory-visual-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.47);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.territory-visual-hint span {
  color: var(--magenta);
}

.team-section {
  padding: 124px 0 132px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 236, 0, 0.06), transparent 26%),
    var(--paper);
}

.team-heading,
.news-heading,
.gallery-heading {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 90px;
  align-items: end;
}

.team-heading h2,
.news-heading h2,
.gallery-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 780;
}

.team-heading h2 span,
.news-heading h2 span,
.gallery-heading h2 span,
.contact-copy h2 span {
  display: block;
  color: var(--violet);
}

.team-heading > p,
.news-heading > p,
.gallery-heading > p {
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.team-manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.2fr);
  gap: 56px;
  margin-top: 48px;
  padding: 34px;
  border: 1px solid rgba(20, 166, 56, 0.17);
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0%, rgba(255, 224, 0, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 48px rgba(7, 57, 25, 0.05);
}

.team-manifesto > p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.65;
  letter-spacing: -0.025em;
}

.team-commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-commitments article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
}

.team-commitments article > span {
  color: var(--violet);
  font-family: var(--font-geist-mono);
  font-size: 9px;
  font-weight: 760;
}

.team-commitments strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
}

.team-commitments p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 58px;
}

.team-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 38px rgba(7, 57, 25, 0.05);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(7, 57, 25, 0.1);
}

.team-card-featured {
  grid-column: span 2;
}

.team-photo {
  position: relative;
  height: 245px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.23), transparent 28%),
    linear-gradient(140deg, #16a538, #92c915);
}

.team-photo::before,
.team-photo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.team-photo::before {
  width: 230px;
  height: 230px;
}

.team-photo::after {
  width: 170px;
  height: 170px;
}

.featured-photo {
  background: #f6f6f0;
}

.team-photo-member {
  background: #f7f8f3;
}

.featured-photo::before,
.featured-photo::after,
.team-photo-member::before,
.team-photo-member::after {
  display: none;
}

.team-photo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 23%;
}

.featured-photo small {
  padding: 6px 8px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(3, 45, 17, 0.72);
  backdrop-filter: blur(8px);
}

.team-photo-member small {
  right: 12px;
  bottom: 12px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 236, 0, 0.25);
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(3, 45, 17, 0.76);
  box-shadow: 0 8px 22px rgba(3, 45, 17, 0.14);
  backdrop-filter: blur(8px);
}

.team-photo > span {
  position: relative;
  z-index: 2;
  font-size: 62px;
  font-weight: 830;
  letter-spacing: -0.085em;
  text-shadow: 0 15px 40px rgba(6, 48, 20, 0.25);
}

.featured-photo > span {
  font-size: 84px;
}

.team-photo small {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-card-copy {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.team-card-copy p {
  margin: 0;
  color: var(--violet);
  font-size: 9px;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.team-card-copy h3 {
  margin: 10px 0 16px;
  font-size: 16px;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.team-card-featured .team-card-copy h3 {
  font-size: 21px;
}

.team-card-copy > span {
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.news-section {
  padding: 124px 0 132px;
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 224, 0, 0.12), transparent 23%),
    #f1f7ec;
}

.news-heading h2 span {
  color: var(--violet);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.news-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(20, 166, 56, 0.14);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(7, 57, 25, 0.055);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 690;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.news-card-meta > span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #073919;
  background: rgba(255, 224, 0, 0.78);
}

.news-card h3 {
  margin: 25px 0 13px;
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.news-card > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.7;
}

.news-card details {
  margin-top: auto;
  padding-top: 24px;
}

.news-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--violet);
  font-size: 10px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

.news-card summary::-webkit-details-marker {
  display: none;
}

.news-card summary span {
  font-size: 16px;
  transition: transform 180ms ease;
}

.news-card details[open] summary span {
  transform: rotate(45deg);
}

.news-card details > div {
  margin-top: 17px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.news-empty {
  min-height: 230px;
  display: grid;
  place-content: center;
  gap: 10px;
  margin-top: 56px;
  padding: 38px;
  border: 1px dashed rgba(20, 166, 56, 0.28);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.62);
}

.news-empty span {
  color: var(--violet);
  font-size: 10px;
  font-weight: 790;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-empty p {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.agenda-section {
  padding: 124px 0 132px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 236, 0, 0.1), transparent 25%),
    #fbfff3;
}

.agenda-heading {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  gap: 90px;
  align-items: end;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.agenda-card {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
  overflow: hidden;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 17px 45px rgba(6, 48, 20, 0.055);
}

.agenda-card-image {
  grid-column: 1 / -1;
  height: 190px;
  overflow: hidden;
  margin: -25px -25px 3px;
}

.agenda-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agenda-date {
  width: 62px;
  height: 67px;
  display: grid;
  place-content: center;
  gap: 4px;
  border-radius: 14px;
  color: var(--night);
  background: var(--magenta);
  text-align: center;
}

.agenda-date strong {
  font-size: 25px;
  line-height: 1;
}

.agenda-date span {
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.agenda-card-copy small {
  color: var(--violet);
  font-size: 7px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agenda-card-copy h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.agenda-card-copy p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.6;
}

.agenda-card-copy > span {
  font-size: 9px;
  font-weight: 750;
}

.gallery-section {
  padding: 124px 0 132px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 236, 0, 0.18), transparent 24%),
    linear-gradient(140deg, #031b0b, #083b1b 64%, #042611);
}

.gallery-heading h2 {
  color: var(--white);
}

.gallery-heading h2 span {
  color: var(--violet-light);
}

.gallery-heading > p {
  color: rgba(255, 255, 255, 0.55);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  margin-top: 58px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.gallery-card-main {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-card-side {
  grid-column: span 5;
}

.gallery-card-half {
  grid-column: span 6;
}

.gallery-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-card:hover .gallery-photo {
  transform: scale(1.035);
}

.gallery-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(3, 30, 11, 0.94), transparent 62%),
    linear-gradient(135deg, rgba(2, 31, 12, 0.18), transparent 50%);
}

.gallery-photo-quetapalo {
  object-position: center 72%;
}

.gallery-photo-sallaconi {
  object-position: center 63%;
}

.gallery-photo-phusca {
  object-position: center 54%;
}

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

.gallery-card-label {
  position: absolute;
  z-index: 3;
  inset: auto 22px 21px;
}

.gallery-card-label::before {
  content: "";
  width: 28px;
  height: 3px;
  display: block;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--magenta);
}

.gallery-card-label p {
  margin: 0;
  font-size: 15px;
  font-weight: 730;
  letter-spacing: -0.02em;
}

.gallery-card-main .gallery-card-label p {
  font-size: 22px;
}

.gallery-card-label span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 9px;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 126px 0;
  color: var(--white);
  background: linear-gradient(130deg, #13a53a 0%, #20b928 42%, #ffde00 100%);
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-orb-one {
  width: 560px;
  height: 560px;
  left: -210px;
  bottom: -290px;
}

.contact-orb-two {
  width: 380px;
  height: 380px;
  right: -120px;
  top: -160px;
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 0.72fr;
  gap: 110px;
  align-items: center;
}

.contact-copy h2 {
  max-width: 700px;
  font-size: clamp(49px, 6vw, 78px);
}

.contact-copy h2 span {
  color: rgba(255, 255, 255, 0.56);
}

.contact-copy > p:not(.section-label) {
  max-width: 570px;
  margin: 29px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.75;
}

.contact-points {
  display: flex;
  gap: 26px;
  margin-top: 38px;
}

.contact-points > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-points > div > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-family: var(--font-geist-mono);
  font-size: 9px;
}

.contact-points p {
  display: grid;
  gap: 3px;
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.contact-points strong {
  color: var(--white);
  font-size: 11px;
}

.contact-form {
  padding: 29px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  background: rgba(5, 55, 22, 0.78);
  box-shadow: 0 30px 80px rgba(7, 63, 22, 0.22);
  backdrop-filter: blur(18px);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.form-heading span {
  font-size: 14px;
  font-weight: 740;
}

.form-heading small {
  color: rgba(255, 255, 255, 0.47);
  font-size: 8px;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 670;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  outline: none;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 12px;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.contact-form input {
  height: 47px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
  padding: 13px 14px;
  line-height: 1.5;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.form-button {
  width: 100%;
  margin-top: 20px;
  border: 0;
  color: var(--violet);
  background: var(--white);
  cursor: pointer;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-helper {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 8px;
  line-height: 1.5;
  text-align: center;
}

.form-notice {
  margin: 13px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 9px;
  line-height: 1.5;
}

.form-notice-success {
  border-color: rgba(255, 236, 0, 0.35);
  background: rgba(255, 236, 0, 0.12);
}

.form-notice-error {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(80, 12, 12, 0.35);
}

footer {
  padding: 52px max(24px, calc((100vw - 1180px) / 2)) 26px;
  color: var(--white);
  background: #031a0a;
}

.footer-shell {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.65fr;
  gap: 40px;
  align-items: center;
}

.footer-shell > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
}

.footer-shell > p strong {
  color: var(--white);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-geist-mono);
  font-size: 9px;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-geist-sans);
  font-weight: 680;
}

.footer-line {
  height: 1px;
  margin-top: 33px;
  background: rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 36px, 720px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 130px max(18px, calc((100vw - 720px) / 2)) 96px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(70px, 14vw, 100px);
  }

  .hero-visual {
    min-height: 470px;
  }

  .candidate-card {
    height: 445px;
  }

  .candidate-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .candidate-portrait {
    position: relative;
    top: auto;
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .portrait-frame {
    min-height: 620px;
  }

  .portrait-tag {
    right: -22px;
  }

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

  .territory-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .territory-explorer-cover {
    min-height: 380px;
  }

  .territory-visual-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .territory-visual-track {
    grid-auto-columns: minmax(270px, 46%);
  }

  .desktop-nav > a:not(.nav-cta) {
    display: none;
  }

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

  .team-manifesto {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .team-card-featured {
    grid-column: span 2;
  }

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

  .gallery-card-main {
    grid-column: span 7;
  }

  .gallery-card-side {
    grid-column: span 5;
  }

  .gallery-card-half {
    grid-column: span 6;
  }

  .contact-layout {
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
  }

  .contact-points {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --page: calc(100% - 36px);
  }

  .site-header {
    top: 9px;
    height: 56px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    width: 39px;
    height: 39px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
  }

  .menu-button span {
    width: 17px;
    height: 1.5px;
    display: block;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .menu-button.is-open span:first-child {
    transform: translateY(3.8px) rotate(45deg);
  }

  .menu-button.is-open span:last-child {
    transform: translateY(-3.8px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    inset: 76px 18px auto;
    z-index: 45;
    display: grid;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(3, 31, 13, 0.95);
    box-shadow: 0 24px 60px rgba(2, 25, 9, 0.36);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 670;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  .mobile-nav a span {
    color: var(--magenta);
    font-family: var(--font-geist-mono);
    font-size: 8px;
  }

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

  .brand-copy strong {
    font-size: 14px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(57px, 19vw, 82px);
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .candidate-card {
    width: min(88vw, 350px);
    height: 400px;
  }

  .candidate-orbit-one {
    width: 410px;
    height: 410px;
  }

  .candidate-orbit-two {
    width: 470px;
    height: 470px;
  }

  .candidate-monogram {
    font-size: 82px;
  }

  .hero-badge {
    right: 2px;
    bottom: 36px;
  }

  .hero-scroll {
    display: none;
  }

  .candidate-section,
  .proposals-section,
  .territory-explorer,
  .territory-section,
  .team-section,
  .news-section,
  .agenda-section,
  .gallery-section,
  .contact-section {
    padding: 88px 0;
  }

  .candidate-layout,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .territory-heading,
  .territory-explorer-heading,
  .agenda-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .territory-selector {
    margin-top: 38px;
  }

  .territory-explorer-panel {
    min-height: 0;
  }

  .territory-explorer-cover {
    min-height: 330px;
    padding: 25px;
  }

  .territory-explorer-projects {
    padding: 20px 13px;
  }

  .managed-project-card summary {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    padding-inline: 11px;
  }

  .managed-project-detail {
    padding: 0 12px 15px 50px;
  }

  .managed-before-after {
    grid-template-columns: 1fr;
  }

  .territory-banner-copy {
    min-height: 420px;
    flex-direction: column;
    align-items: stretch;
    justify-content: end;
    padding: 28px;
  }

  .territory-pdf-button {
    min-width: 0;
  }

  .territory-project-grid {
    grid-template-columns: 1fr;
    padding-inline: 13px;
  }

  .territory-projects-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 20px 18px;
  }

  .territory-visual-showcase {
    margin: 7px 13px 14px;
    padding: 23px 20px;
    border-radius: 18px;
  }

  .territory-visual-heading h4 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .territory-visual-track {
    grid-auto-columns: minmax(245px, 84vw);
    margin: 25px -20px 0;
    padding: 0 20px 16px;
    scroll-padding-inline: 20px;
  }

  .territory-visual-track.is-single {
    grid-auto-columns: minmax(245px, calc(100vw - 88px));
  }

  .candidate-portrait {
    width: calc(100% - 18px);
  }

  .portrait-frame {
    min-height: 460px;
  }

  .portrait-tag {
    right: -18px;
    bottom: 42px;
  }

  .candidate-story h2,
  .section-heading h2,
  .territory-explorer-heading h2,
  .territory-heading h2,
  .team-heading h2,
  .news-heading h2,
  .agenda-heading h2,
  .gallery-heading h2,
  .contact-copy h2 {
    font-size: clamp(42px, 13vw, 58px);
  }

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

  .candidate-origin-note {
    grid-template-columns: 112px 1fr;
  }

  .value-card {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

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

  .proposal-card {
    min-height: 280px;
  }

  .team-heading,
  .news-heading,
  .gallery-heading,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    margin-top: 42px;
  }

  .team-manifesto {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 36px;
    padding: 24px;
  }

  .team-manifesto > p {
    font-size: 15px;
  }

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

  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 42px;
  }

  .news-card {
    min-height: 280px;
    padding: 23px;
  }

  .news-empty {
    margin-top: 42px;
  }

  .agenda-grid {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 42px;
  }

  .agenda-card {
    grid-template-columns: 54px 1fr;
    gap: 15px;
    padding: 19px;
  }

  .agenda-card-image {
    height: 170px;
    margin: -19px -19px 1px;
  }

  .agenda-date {
    width: 54px;
    height: 59px;
  }

  .team-card-featured {
    grid-column: span 2;
  }

  .team-photo {
    height: 190px;
  }

  .team-card-featured .team-photo {
    height: 260px;
  }

  .team-photo > span {
    font-size: 47px;
  }

  .team-card-copy {
    min-height: 160px;
    padding: 17px;
  }

  .team-card-copy h3 {
    font-size: 13px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 13px;
    margin-top: 42px;
  }

  .gallery-card,
  .gallery-card-main,
  .gallery-card-side,
  .gallery-card-half {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-card-main {
    min-height: 370px;
  }

  .contact-layout {
    gap: 48px;
  }

  .contact-points {
    gap: 15px;
  }

  .contact-form {
    padding: 22px;
  }

  footer {
    padding-inline: 18px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 25px;
  }

  .footer-shell > p {
    max-width: 280px;
  }

  .footer-meta {
    justify-content: center;
  }
}

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

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