:root {
  --ink: #11110f;
  --muted: #5b5a54;
  --paper: #f6f2e9;
  --panel: #fffdf7;
  --line: #ddd4c3;
  --dark: #171814;
  --brass: #b28d55;
  --sage: #6f7868;
  --max: 1180px;
  --gutter: clamp(18px, 4vw, 56px);
  --section: clamp(76px, 11vw, 150px);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.section-pad {
  padding: var(--section) var(--gutter);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px var(--gutter);
  color: var(--panel);
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(221, 212, 195, 0.8);
  background: rgba(246, 242, 233, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  padding: 148px var(--gutter) 46px;
  background: var(--dark);
  color: var(--panel);
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 10, 0.97) 0%, rgba(11, 12, 10, 0.84) 42%, rgba(11, 12, 10, 0.16) 74%),
    linear-gradient(0deg, rgba(11, 12, 10, 0.8) 0%, transparent 48%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.015);
  animation: hero-focus 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-focus {
  from {
    opacity: 0.65;
    transform: scale(1.07);
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(800px, 62vw);
}

.eyebrow {
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.next-copy h2,
.connect-profile h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.94;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(4rem, 7.3vw, 8rem);
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--brass);
  font-style: italic;
}

.hero .hero-lede {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(255, 253, 247, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease, transform 220ms ease;
}

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

.button-dark {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
}

.button-light {
  color: var(--panel);
}

.hero-scroll {
  color: rgba(255, 253, 247, 0.64);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.hero-scroll span {
  color: var(--brass);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.hero-scroll:hover span,
.hero-scroll:focus-visible span {
  transform: translateY(3px);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 18px 0;
  animation: ticker 28s linear infinite;
}

.ticker span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.section-intro {
  width: min(var(--max), 100%);
  margin: 0 auto clamp(34px, 6vw, 70px);
}

.section-intro h2 {
  max-width: 980px;
  margin-top: 12px;
  font-size: clamp(2.7rem, 6.7vw, 6.7rem);
}

.story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.story::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("img/3montes.jpg") right center / cover no-repeat;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.story .section-intro {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.story-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.story-copy {
  max-width: 980px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.story-copy p + p {
  margin-top: 22px;
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.story-step.reveal {
  transform: translateY(76px);
  transition-duration: 780ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.story-step.reveal:nth-child(2) {
  transition-delay: 110ms;
}

.story-step.reveal:nth-child(3) {
  transition-delay: 220ms;
}

.story-step.reveal:nth-child(4) {
  transition-delay: 330ms;
}

.story-step.reveal.is-visible {
  transform: translateY(0);
}

.story-step,
.growth-card,
.principle {
  min-height: 220px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.52);
}

.story-step,
.growth-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  outline: none;
}

.story-step::before,
.growth-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--dark);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-step > *,
.growth-card > * {
  position: relative;
  z-index: 1;
  transition: color 260ms ease;
}

.story-step:hover::before,
.story-step:focus-visible::before,
.growth-card:hover::before,
.growth-card:focus-visible::before {
  transform: scaleY(1);
}

.story-step:hover,
.story-step:focus-visible,
.growth-card:hover,
.growth-card:focus-visible {
  animation: story-card-bump 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
  border-color: var(--dark);
  box-shadow: 0 16px 34px rgba(17, 17, 15, 0.13);
}

.story-step:focus-visible,
.growth-card:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brass), 0 16px 34px rgba(17, 17, 15, 0.13);
}

.story-step:hover h3,
.story-step:focus-visible h3,
.growth-card:hover h3,
.growth-card:focus-visible h3 {
  color: var(--panel);
}

.story-step:hover p,
.story-step:focus-visible p,
.growth-card:hover p,
.growth-card:focus-visible p {
  color: rgba(255, 253, 247, 0.74);
}

@keyframes story-card-bump {
  0%, 100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-8px);
  }
  72% {
    transform: translateY(2px);
  }
}

.story-step span,
.growth-card span,
.principle span,
.card-label,
.thought-card span {
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-step h3,
.platform-card h3,
.growth-card h3,
.thought-card h3,
.principle h3 {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.story-step p,
.platform-card p,
.growth-card p,
.principle p,
.next-copy p,
.connect-profile p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.platforms,
.proof,
.thinking,
.connect {
  background: var(--panel);
}

.platform-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin: 0 auto;
}

.platform-card {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.platform-trigger {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: var(--dark);
  color: var(--panel);
  cursor: pointer;
  text-align: left;
}

.platform-trigger::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 9, 0.88) 0%, rgba(10, 10, 9, 0.24) 58%, rgba(10, 10, 9, 0.08) 100%);
  content: "";
  transition: background 420ms ease;
}

.platform-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 700ms ease, filter 420ms ease;
}

.platform-trigger:hover::after,
.platform-trigger:focus-visible::after,
.platform-card.is-open .platform-trigger::after {
  background: linear-gradient(0deg, rgba(10, 10, 9, 0.94) 0%, rgba(10, 10, 9, 0.48) 68%, rgba(10, 10, 9, 0.3) 100%);
}

.platform-trigger:hover img,
.platform-trigger:focus-visible img,
.platform-card.is-open .platform-trigger img {
  filter: saturate(0.72) contrast(1.08) brightness(0.72);
  transform: scale(1.04);
}

.platform-trigger:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: -3px;
}

.platform-cover {
  position: absolute;
  right: clamp(20px, 4vw, 38px);
  bottom: clamp(20px, 4vw, 38px);
  left: clamp(20px, 4vw, 38px);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.platform-cover > span:first-child {
  display: grid;
  gap: 10px;
}

.platform-cover .card-label {
  color: rgba(255, 253, 247, 0.68);
}

.platform-title {
  max-width: 420px;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 3.35rem);
  font-weight: 500;
  line-height: 0.98;
}

.platform-arrow {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 253, 247, 0.54);
  border-radius: 50%;
  transition: background 240ms ease, border-color 240ms ease, transform 360ms ease;
}

.platform-arrow::after {
  position: absolute;
  top: 9px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.platform-trigger:hover .platform-arrow,
.platform-trigger:focus-visible .platform-arrow {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
}

.platform-card.is-open .platform-arrow {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
  transform: rotate(180deg);
}

.platform-details {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(17, 17, 15, 0.9);
  color: var(--panel);
  opacity: 0;
  overflow: hidden;
  transform: translateY(100%);
  visibility: hidden;
  backdrop-filter: blur(4px);
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms ease, visibility 0s linear 560ms;
}

.platform-card.is-open .platform-details {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 360ms ease, visibility 0s;
}

.platform-details-inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow-y: auto;
  padding: clamp(30px, 4vw, 46px);
  scrollbar-color: var(--brass) transparent;
}

.platform-close {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 28px);
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--panel);
  cursor: pointer;
}

.platform-close .platform-arrow {
  display: block;
  border-color: var(--brass);
  background: var(--brass);
  color: var(--ink);
  transform: rotate(180deg);
}

.platform-close:hover .platform-arrow,
.platform-close:focus-visible .platform-arrow {
  background: var(--panel);
  border-color: var(--panel);
}

.platform-close:focus-visible {
  outline: 2px solid var(--panel);
  outline-offset: 4px;
}

.platform-details .card-label {
  padding-right: 52px;
  color: var(--brass);
}

.platform-details h3 {
  max-width: 440px;
  padding-right: 42px;
  color: var(--panel);
}

.platform-details p,
.platform-card .platform-details li {
  color: rgba(255, 253, 247, 0.82);
}

.platform-card ul {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.platform-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.platform-card li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--brass);
  content: "";
}

.platform-details a {
  width: fit-content;
  margin-top: 30px;
  padding-top: 28px;
  border-bottom: 1px solid currentColor;
  color: var(--panel);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-collage {
  display: block;
  width: 100%;
  margin-top: 12px;
}

.property-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.property-gallery figure {
  min-width: 0;
  margin: 0;
}

.property-gallery figcaption {
  margin-bottom: 8px;
  color: var(--panel);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-gallery button {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.08);
  cursor: pointer;
}

.property-gallery button::after {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 9, 0);
  content: "";
  transition: background 220ms ease;
}

.property-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 220ms ease;
}

.property-gallery button:hover::after,
.property-gallery button:focus-visible::after {
  background: rgba(10, 10, 9, 0.22);
}

.property-gallery button:hover img,
.property-gallery button:focus-visible img {
  filter: brightness(1.05);
  transform: scale(1.04);
}

.property-gallery button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.platform-gallery {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.platform-gallery button {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 253, 247, 0.22);
  background: rgba(255, 253, 247, 0.08);
  cursor: pointer;
}

.platform-gallery button::after {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 9, 0);
  content: "";
  transition: background 220ms ease;
}

.platform-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 220ms ease;
}

.platform-gallery button:hover::after,
.platform-gallery button:focus-visible::after {
  background: rgba(10, 10, 9, 0.22);
}

.platform-gallery button:hover img,
.platform-gallery button:focus-visible img {
  filter: brightness(1.05);
  transform: scale(1.06);
}

.platform-gallery button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 10, 9, 0.84);
  cursor: zoom-out;
}

.lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(980px, 92vw);
  max-height: 86vh;
  border: 1px solid rgba(255, 253, 247, 0.28);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: clamp(16px, 3vw, 34px);
  right: clamp(16px, 3vw, 34px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 253, 247, 0.34);
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.12);
  color: var(--panel);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.8rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--panel);
  color: var(--ink);
  transform: scale(1.04);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0 0 5px;
  border: 1px solid rgba(255, 253, 247, 0.34);
  border-radius: 50%;
  background: rgba(10, 10, 9, 0.58);
  color: var(--panel);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 2.5rem;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 180ms ease, color 180ms ease;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev {
  left: clamp(12px, 3vw, 40px);
}

.lightbox-next {
  right: clamp(12px, 3vw, 40px);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--panel);
  color: var(--ink);
}

.growth {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.growth::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("img/create_value_back.jpg") right center / cover no-repeat;
  content: "";
  opacity: 0.12;
  pointer-events: none;
}

.growth-grid,
.principle-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(5, 1fr);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.growth-card {
  min-height: 310px;
  background: transparent;
}

.growth-card h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
}

.proof-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.proof-stat {
  min-height: 220px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-stat strong {
  display: block;
  color: #b28d55;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.proof-stat p {
  max-width: 210px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 850;
  line-height: 1.4;
}

.featured {
  padding: 44px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.featured > p {
  width: min(var(--max), 100%);
  margin: 0 auto 18px;
}

.logo-carousel {
  width: min(var(--max), 100%);
  overflow: hidden;
  margin: 0 auto;
  outline: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.logo-carousel:focus-visible {
  box-shadow: 0 0 0 2px var(--brass);
}

.logo-track,
.logo-group {
  display: flex;
  width: max-content;
}

.logo-track {
  animation: logo-carousel 34s linear infinite;
}

.logo-group {
  gap: 12px;
  padding-right: 12px;
}

.logo-carousel:hover .logo-track,
.logo-carousel:focus-within .logo-track {
  animation-play-state: paused;
}

.logo-slide {
  display: grid;
  width: clamp(190px, 19vw, 250px);
  min-height: 112px;
  flex: 0 0 auto;
  place-items: center;
  padding: 24px;
  background-color: transparent;
  outline: none;
}

.logo-slide img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.66;
  transition: filter 260ms ease, opacity 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.logo-slide:hover,
.logo-slide:focus-visible {
  box-shadow: none;
}

.logo-slide:hover img,
.logo-slide:focus-visible img {
  filter: grayscale(1);
  opacity: 1;
  transform: scale(1.03);
}

.logo-slide:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brass), 0 16px 34px rgba(17, 17, 15, 0.13);
}

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

.thought-grid {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.thought-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 410px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--dark);
  transition: border-color 220ms ease, transform 220ms ease;
}

.thought-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(10, 10, 9, 0.92) 0%, rgba(10, 10, 9, 0.48) 44%, rgba(10, 10, 9, 0.06) 78%);
  content: "";
  pointer-events: none;
}

.thought-card:hover,
.thought-card:focus-visible {
  border-color: var(--brass);
  transform: translateY(-4px);
}

.thought-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.thought-card:hover img,
.thought-card:focus-visible img {
  transform: scale(1.035);
}

.thought-card span,
.thought-card h3 {
  position: relative;
  z-index: 2;
  padding-right: 24px;
  padding-left: 24px;
}

.thought-card span {
  margin-top: auto;
}

.thought-card h3 {
  margin-bottom: 24px;
  color: var(--panel);
}

.principles {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
  color: var(--panel);
}

.principles::before {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  background: url("img/back.png") center / cover no-repeat;
  content: "";
  transform: translate3d(0, var(--principles-parallax, 0px), 0) scale(1.08);
  will-change: transform;
}

.principles::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(13, 14, 12, 0.78), rgba(13, 14, 12, 0.58)),
    rgba(17, 17, 15, 0.62);
  content: "";
}

.principles .section-intro h2 {
  max-width: 850px;
}

.principle-grid {
  border-color: rgba(255, 253, 247, 0.18);
}

.principle {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent;
  border-color: rgba(255, 253, 247, 0.18);
  outline: none;
}

.principle::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--panel);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.principle > * {
  position: relative;
  z-index: 1;
  transition: color 260ms ease;
}

.principle:hover::before,
.principle:focus-visible::before {
  transform: scaleY(1);
}

.principle:hover,
.principle:focus-visible {
  animation: story-card-bump 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
  border-color: var(--panel);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.principle:focus-visible {
  box-shadow: inset 0 0 0 2px var(--brass), 0 16px 34px rgba(0, 0, 0, 0.28);
}

.principle:hover h3,
.principle:focus-visible h3 {
  color: var(--ink);
}

.principle:hover span,
.principle:focus-visible span {
  color: #7a5b2f;
}

.principle p {
  color: rgba(255, 253, 247, 0.7);
}

.principle:hover p,
.principle:focus-visible p {
  color: var(--muted);
}

.next {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: var(--sage);
  color: var(--panel);
}

.next-image {
  min-height: 520px;
  overflow: hidden;
}

.next-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.05);
}

.next-copy h2 {
  max-width: 620px;
  margin-top: 12px;
  font-size: clamp(4rem, 9vw, 9rem);
}

.next-copy p {
  max-width: 650px;
  color: rgba(255, 253, 247, 0.78);
  font-size: 1.12rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill-list span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 253, 247, 0.26);
  color: rgba(255, 253, 247, 0.86);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.connect-card {
  display: grid;
  width: min(var(--max), 100%);
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 5vw, 64px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.connect-profile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.connect-intro {
  display: flex;
  align-items: center;
  gap: 18px;
}

.connect-intro img {
  aspect-ratio: 1;
  width: clamp(76px, 8vw, 112px);
  flex: 0 0 auto;
  object-fit: cover;
  filter: grayscale(0.2);
}

.connect-profile h2 {
  max-width: 100%;
  margin-top: 26px;
  font-size: clamp(2.6rem, 3.7vw, 4.2rem);
  overflow-wrap: break-word;
}

.contact-form {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: start;
}

.contact-form label {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form span em {
  color: var(--accent);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.14em;
  margin-left: 6px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  min-width: 0;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--panel);
  color: var(--ink);
  outline: none;
}

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

.contact-form textarea {
  min-height: 156px;
  padding: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brass);
}

.contact-form button {
  width: 100%;
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--gutter);
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
}

.site-footer p {
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1080px) {
  .next,
  .connect-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(760px, 78vw);
  }

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

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

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

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

@media (max-width: 840px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    align-content: center;
    justify-items: center;
    width: 100vw;
    height: 100svh;
    min-height: 100vh;
    gap: clamp(18px, 5vh, 28px);
    padding: 96px var(--gutter) 36px;
    background: var(--paper);
    color: var(--ink);
    font-size: clamp(1.35rem, 6.5vw, 2.8rem);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease;
  }

  .site-nav a {
    max-width: min(84vw, 560px);
    text-align: center;
    line-height: 0.98;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    padding: 112px 20px 26px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(11, 12, 10, 0.98) 0%, rgba(11, 12, 10, 0.87) 43%, rgba(11, 12, 10, 0.16) 78%),
      linear-gradient(90deg, rgba(11, 12, 10, 0.28), transparent 80%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero h1 {
    max-width: 660px;
    font-size: clamp(3.35rem, 14vw, 5.7rem);
    line-height: 0.92;
  }

  .hero-copy {
    width: 100%;
  }

  .hero .hero-lede {
    max-width: 560px;
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.52;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-scroll {
    margin-top: 18px;
  }

  .connect-profile,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-tile,
  .hero-tile-large {
    min-height: 240px;
  }

  .growth-grid,
  .principle-grid,
  .proof-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

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

  .story-step.reveal {
    transition-delay: 0ms;
  }

  .principles::before {
    transform: scale(1.08);
    will-change: auto;
  }

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

  .platform-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .next-image {
    min-height: 330px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .principles::before {
    transform: scale(1.08);
    will-change: auto;
  }

  .logo-carousel {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-track {
    animation: none !important;
    transform: none;
  }

  .logo-group[aria-hidden="true"] {
    display: none;
  }
}
