.content-page {
  min-height: 100vh;
  color: var(--ink);
  background: var(--cream);
}

.content-nav {
  color: var(--ink);
  background: rgba(246, 244, 232, .9);
  backdrop-filter: blur(16px);
}

.content-nav .brand-face::after { background: var(--cream); }

.content-nav .nav-links { gap: clamp(18px, 2.6vw, 42px); }

.content-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  gap: clamp(35px, 6vw, 100px);
  align-items: center;
  padding: 150px clamp(24px, 6vw, 96px) 90px;
  isolation: isolate;
}

.content-hero.sky {
  color: #fff;
  background: linear-gradient(155deg, #48a9e5, #83d0f3);
}

.content-hero.cream { background: var(--cream); }
.content-hero.mint { background: #e8f2df; }
.content-hero.ink { color: #fff; background: linear-gradient(145deg, #0f2e22, #315f3f); }
.content-hero.lavender { background: linear-gradient(145deg, #ebeaf9, #cbd4f1); }

.content-hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  left: -10%;
  right: -10%;
  bottom: -25%;
  height: 43%;
  border-radius: 50% 50% 0 0;
  background: rgba(182, 228, 66, .88);
  transform: rotate(-2deg);
}

.content-hero.cream::after,
.content-hero.mint::after,
.content-hero.lavender::after { background: rgba(101, 189, 242, .18); }

.content-hero.ink::after { background: rgba(182, 228, 66, .14); }

.content-hero-copy { position: relative; z-index: 3; max-width: 900px; }

.content-kicker {
  margin: 0 0 18px;
  color: #5a9634;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.sky .content-kicker,
.ink .content-kicker { color: var(--grass); }

.content-hero h1 {
  max-width: 12ch;
  margin: 0;
  font: 800 clamp(56px, 7vw, 108px)/.9 "Manrope", sans-serif;
  letter-spacing: -.078em;
}

.content-hero h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -.06em;
}

.content-lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(16, 41, 30, .66);
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.6;
}

.sky .content-lede,
.ink .content-lede { color: rgba(255,255,255,.78); }

.hero-actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button-light { color: var(--ink); background: #fff; }
.button-outline { border: 1px solid currentColor; background: transparent; }

.hero-art {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.hero-art > img {
  display: block;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(16,41,30,.16));
  animation: content-float 6s ease-in-out infinite;
}

.hero-art .art-card {
  width: min(100%, 540px);
  overflow: hidden;
  border: 1px solid rgba(16,41,30,.14);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 34px 80px rgba(16,41,30,.16);
  transform: rotate(2deg);
}

.hero-art .art-card img { width: 100%; min-height: 340px; display: block; object-fit: cover; }

.security-hero {
  min-height: min(780px, 100dvh);
  background:
    radial-gradient(circle at 76% 28%, rgba(182, 228, 66, .14), transparent 26%),
    linear-gradient(145deg, #0a241a, #315f3f);
}

.security-hero .content-hero-copy { max-width: 760px; }
.security-hero h1 {
  max-width: 11ch;
  font-size: clamp(54px, 6.6vw, 98px);
  line-height: .94;
}
.security-hero .content-lede { max-width: 590px; }

.security-flow-art {
  width: min(100%, 560px);
  justify-self: end;
}

.security-flow {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 30px;
  background: rgba(7, 31, 22, .72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    0 34px 80px rgba(2, 17, 11, .3);
}

.security-flow::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: rgba(182, 228, 66, .14);
  filter: blur(8px);
}

.security-flow-rail {
  position: absolute;
  z-index: 2;
  top: 76px;
  bottom: 76px;
  left: 46px;
  width: 2px;
  overflow: hidden;
  background: rgba(70, 126, 91, .3);
}

.security-flow-rail span {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 42px;
  border-radius: 99px;
  background: var(--grass);
  box-shadow: 0 0 16px rgba(182, 228, 66, .8);
  animation: security-signal 4.8s cubic-bezier(.22, 1, .36, 1) infinite;
}

.security-flow-stage {
  position: relative;
  z-index: 3;
  min-height: 104px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 18px 20px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(2,17,11,.14);
  animation: security-stage-active 4.8s ease-in-out infinite;
}

.security-flow-stage:nth-child(3) { animation-delay: 1.6s; }
.security-flow-stage:nth-child(4) { animation-delay: 3.2s; }

.security-flow-stage i {
  width: 18px;
  height: 18px;
  justify-self: center;
  border: 5px solid #dff0b2;
  border-radius: 50%;
  background: #5f9637;
  box-shadow: 0 0 0 5px rgba(182,228,66,.17);
}

.security-flow-stage div { display: grid; gap: 6px; }
.security-flow-stage strong {
  font: 750 19px/1.05 "Manrope", sans-serif;
  letter-spacing: -.035em;
}
.security-flow-stage span {
  color: rgba(16,41,30,.62);
  font-size: 12px;
  line-height: 1.45;
}
.security-flow-stage b {
  color: #4f7f35;
  font: 750 9px/1 "Manrope", sans-serif;
  letter-spacing: .1em;
}

@keyframes security-signal {
  0% { top: 0; opacity: 0; }
  10%, 86% { opacity: 1; }
  100% { top: calc(100% - 42px); opacity: 0; }
}

@keyframes security-stage-active {
  0%, 24%, 100% { border-color: rgba(255,255,255,.76); transform: translateX(0); }
  9% { border-color: var(--grass); transform: translateX(-5px); }
}

.projects-hero {
  min-height: min(780px, 100dvh);
  padding-top: 128px;
  padding-bottom: 64px;
}

.projects-hero .content-hero-copy {
  max-width: 760px;
}

.projects-hero h1 {
  max-width: 16ch;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: .95;
}

.projects-hero .content-lede {
  max-width: 610px;
}

.projects-hero-gallery {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  height: clamp(390px, 42vw, 540px);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(140px, .7fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  justify-self: end;
}

.projects-hero-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(16,41,30,.16);
  border-radius: 24px;
  box-shadow: 0 24px 60px -34px rgba(16,41,30,.58);
}

.projects-hero-gallery .projects-hero-main {
  grid-row: 1 / -1;
}

@keyframes content-float {
  0%, 100% { translate: 0 -5px; rotate: -.5deg; }
  50% { translate: 0 9px; rotate: .5deg; }
}

.content-main { background: var(--cream); }

.content-section {
  padding: clamp(80px, 10vw, 150px) clamp(24px, 6vw, 96px);
  border-top: 1px solid var(--line);
}

.content-section.alt { background: #edf2e8; }
.content-section.sky-wash { background: #eaf5fa; }
.content-section.dark { color: #fff; background: var(--ink); }

.content-wrap { max-width: 1400px; margin: 0 auto; }
.narrow-wrap { max-width: 900px; margin: 0 auto; }

.section-intro {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: clamp(35px, 7vw, 110px);
  align-items: end;
  margin-bottom: clamp(45px, 7vw, 90px);
}

.section-intro h2,
.document-header h2 {
  max-width: 14ch;
  margin: 0;
  font: 700 clamp(42px, 5.6vw, 82px)/.95 "Manrope", sans-serif;
  letter-spacing: -.07em;
}

.section-intro > p {
  margin: 0;
  color: rgba(16,41,30,.65);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.dark .section-intro > p { color: rgba(255,255,255,.66); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid.two { grid-template-columns: repeat(2, 1fr); }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  min-height: 270px;
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.62);
}

.feature-card.dark-card { color: #fff; border-color: rgba(255,255,255,.18); background: #143428; }
.feature-card.accent { background: var(--grass); }
.feature-card.sky-card { background: #dff3fd; }

.card-number,
.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--grass);
  font: 700 11px/1 "Manrope", sans-serif;
}

.feature-card h3 { margin: 70px 0 13px; font: 700 25px/1.05 "Manrope", sans-serif; letter-spacing: -.05em; }
.feature-card.compact h3 { margin-top: 38px; }
.feature-card p { margin: 0; color: rgba(16,41,30,.64); font-size: 14px; line-height: 1.62; }
.dark-card p { color: rgba(255,255,255,.66); }

.prose-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}

.prose-grid > aside { position: sticky; top: 130px; }
.prose-grid h2 { margin: 0; font: 700 clamp(38px, 4vw, 60px)/.98 "Manrope", sans-serif; letter-spacing: -.065em; }
.prose-grid article { min-width: 0; }
.prose-grid article h3 { margin: 55px 0 14px; font: 700 26px/1.1 "Manrope", sans-serif; letter-spacing: -.045em; }
.prose-grid article h3:first-child { margin-top: 0; }
.prose-grid article p,
.prose-grid article li,
.long-form p,
.long-form li { color: rgba(16,41,30,.69); font-size: 16px; line-height: 1.75; }
.prose-grid article li + li,
.long-form li + li { margin-top: 8px; }

.callout {
  margin: 28px 0;
  padding: 24px 26px;
  border-left: 5px solid var(--grass-deep, #75a631);
  border-radius: 0 18px 18px 0;
  background: #edf5d7;
}

.callout strong { display: block; margin-bottom: 6px; font: 700 15px/1.2 "Manrope", sans-serif; }
.callout p { margin: 0; font-size: 14px !important; }
.callout.warning { border-color: #d6a62d; background: #faf1d5; }

.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0 0 55px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.65);
}

.status-banner span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.status-banner i { width: 9px; height: 9px; border-radius: 50%; background: #7fb537; box-shadow: 0 0 0 5px rgba(182,228,66,.22); }
.status-banner small { color: rgba(16,41,30,.5); }

.projects-intro {
  max-width: 820px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.projects-intro h2 {
  max-width: 13ch;
  margin: 0;
  font: 700 clamp(42px, 5.4vw, 76px)/.98 "Manrope", sans-serif;
  letter-spacing: -.065em;
}

.projects-intro > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(16,41,30,.65);
  font-size: 17px;
  line-height: 1.65;
}

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

.project-page-card {
  overflow: hidden;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  scroll-margin-top: 110px;
}

.project-page-card-lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(360px, 1.08fr) minmax(0, .92fr);
}

.project-page-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  display: block;
  object-fit: cover;
}

.project-page-card-lead > img {
  height: 100%;
  min-height: 480px;
  aspect-ratio: auto;
}

.project-page-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 58px);
}

.project-category,
.campaign-category {
  margin: 0 0 14px;
  color: #4f8d31;
  font-size: 12px;
  font-weight: 750;
}

.project-category span,
.campaign-category span {
  margin: 0 5px;
  color: rgba(16,41,30,.35);
}

.project-page-copy h3 {
  margin: 0 0 18px;
  font: 700 clamp(32px, 3.4vw, 52px)/1 "Manrope", sans-serif;
  letter-spacing: -.06em;
}

.project-page-card:not(.project-page-card-lead) .project-page-copy h3 {
  font-size: clamp(29px, 2.6vw, 40px);
}

.project-page-copy > p { color: rgba(16,41,30,.65); font-size: 16px; line-height: 1.7; }
.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.project-meta div { display: grid; gap: 4px; }
.project-meta small { color: rgba(16,41,30,.48); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.project-meta strong { font: 700 15px/1.15 "Manrope", sans-serif; }
.project-page-card.featured-project { border-color: rgba(87,147,45,.55); box-shadow: 0 28px 70px -50px rgba(16,41,30,.55); }
.project-page-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 16px 18px;
  color: #fff;
  border-radius: 14px;
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease;
}
.project-page-action:hover { background: #204a38; }
.project-page-action:active { transform: translateY(1px); }
.project-page-action span { color: var(--grass); font-size: 18px; }

.code-block {
  overflow-x: auto;
  margin: 24px 0;
  padding: 24px;
  color: #dff5e7;
  border-radius: 18px;
  background: #10291e;
  font: 500 13px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre;
}

.endpoint { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.endpoint b { padding: 6px 8px; border-radius: 8px; color: #fff; background: var(--ink); font: 700 10px/1 ui-monospace, monospace; text-align: center; }
.endpoint code { font: 600 14px/1.4 ui-monospace, monospace; }
.endpoint span { grid-column: 2; color: rgba(16,41,30,.6); font-size: 13px; }

.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 35px; padding: 0 0 50px; }
.timeline-item::before { content: ""; position: absolute; top: 12px; left: 105px; bottom: -12px; width: 1px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item > span { color: #669636; font: 700 11px/1.3 "Manrope", sans-serif; }
.timeline-item > div { position: relative; padding-left: 24px; }
.timeline-item > div::before { content: ""; position: absolute; left: -11px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 5px var(--cream); }
.timeline-item h3 { margin: 0 0 8px; font: 700 23px/1.1 "Manrope", sans-serif; letter-spacing: -.04em; }
.timeline-item p { margin: 0; color: rgba(16,41,30,.65); line-height: 1.65; }

.document-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 850px);
  gap: clamp(45px, 8vw, 125px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 150px clamp(24px, 6vw, 96px) 120px;
}

.document-toc { position: sticky; top: 125px; align-self: start; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.document-toc strong { display: block; margin-bottom: 14px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.document-toc a { display: block; padding: 7px 0; color: rgba(16,41,30,.58); font-size: 12px; }
.document-toc a:hover { color: #5e9637; }

.document-header { padding-bottom: 55px; border-bottom: 1px solid var(--line); }
.document-header h1 { margin: 12px 0 20px; font: 800 clamp(56px, 7vw, 92px)/.9 "Manrope", sans-serif; letter-spacing: -.075em; }
.document-header p { color: rgba(16,41,30,.65); font-size: 19px; line-height: 1.65; }
.document-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.document-meta span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 10px; font-weight: 600; }

.long-form section { padding: 65px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 120px; }
.long-form h2 { margin: 0 0 24px; font: 700 clamp(34px, 4vw, 52px)/1 "Manrope", sans-serif; letter-spacing: -.06em; }
.long-form h3 { margin: 40px 0 14px; font: 700 23px/1.15 "Manrope", sans-serif; letter-spacing: -.04em; }
.long-form table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: 13px; }
.long-form th,.long-form td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.long-form th { color: rgba(16,41,30,.52); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.formula { margin: 25px 0; padding: 22px; border-radius: 15px; background: #e8f1df; font: 600 15px/1.6 ui-monospace, monospace; }

.legal-date { margin-bottom: 45px; color: rgba(16,41,30,.52); font-size: 13px; }

.content-cta {
  position: relative;
  overflow: hidden;
  max-width: 1400px;
  min-height: 430px;
  margin: 0 auto;
  padding: clamp(50px, 7vw, 95px);
  color: #fff;
  border-radius: 40px;
  background: linear-gradient(135deg, #123627, #4e9337);
}

.content-cta h2 { max-width: 850px; margin: 0; font: 700 clamp(42px, 5.5vw, 76px)/.96 "Manrope", sans-serif; letter-spacing: -.07em; }
.content-cta p { max-width: 560px; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; }
.content-cta img { position: absolute; right: clamp(10px,6vw,80px); bottom: -15%; width: clamp(180px,24vw,360px); filter: drop-shadow(0 20px 30px rgba(0,0,0,.25)); }

.app-video-section {
  background:
    radial-gradient(circle at 85% 5%, rgba(101,189,242,.2), transparent 28%),
    var(--cream);
}

.content-video-frame {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(16,41,30,.2);
  border-radius: clamp(22px,3vw,42px);
  background: #55afe0;
  box-shadow: 0 28px 65px rgba(16,41,30,.15);
}

.content-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .content-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-art { min-height: 330px; }
  .hero-art > img { max-height: 380px; }
  .security-flow-art { width: min(100%, 620px); justify-self: center; }
  .projects-hero { min-height: auto; }
  .projects-hero-gallery { width: 100%; justify-self: stretch; }
  .feature-grid.four { grid-template-columns: repeat(2,1fr); }
  .project-page-card,
  .project-page-card-lead { grid-column: 1 / -1; }
  .project-page-card-lead { grid-template-columns: 1fr; }
  .project-page-card-lead > img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .document-shell { grid-template-columns: 1fr; }
  .document-toc { position: static; columns: 2; }
}

@media (max-width: 760px) {
  .content-hero { padding-top: 130px; padding-bottom: 70px; }
  .content-hero h1 { font-size: clamp(50px,15vw,72px); }
  .security-hero h1 { max-width: 12ch; font-size: clamp(48px,14vw,66px); }
  .security-flow-art { min-height: auto; margin-top: 26px; }
  .security-flow { gap: 10px; padding: 14px; border-radius: 24px; }
  .security-flow-rail { top: 64px; bottom: 64px; left: 35px; }
  .security-flow-stage {
    min-height: 96px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 16px;
    border-radius: 17px;
  }
  .security-flow-stage b { grid-column: 2; justify-self: start; }
  .projects-hero { padding-top: 112px; padding-bottom: 48px; }
  .projects-hero h1 { font-size: clamp(46px,13vw,66px); }
  .projects-hero-gallery {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 9px;
  }
  .projects-hero-gallery .projects-hero-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 3 / 2;
  }
  .projects-hero-gallery img:not(.projects-hero-main) { aspect-ratio: 1 / 1; }
  .projects-hero-gallery img { border-radius: 17px; }
  .section-intro,.prose-grid { grid-template-columns: 1fr; }
  .prose-grid > aside { position: static; }
  .feature-grid,.feature-grid.two,.feature-grid.four { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .project-meta { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 75px 1fr; gap: 15px; }
  .timeline-item::before { left: 73px; }
  .document-toc { columns: 1; }
  .content-cta { min-height: 540px; border-radius: 30px; }
  .content-cta img { right: -25px; width: 230px; }
  .status-banner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .security-flow-rail span,
  .security-flow-stage {
    animation: none;
  }
  .security-flow-rail span {
    top: calc(50% - 21px);
    opacity: 1;
  }
}
