:root {
  --ink: #101820;
  --ink-soft: #263445;
  --muted: #667484;
  --line: #dce4eb;
  --paper: #ffffff;
  --paper-soft: #f6f9fb;
  --blue: #1f7caf;
  --blue-dark: #115a83;
  --green: #0f9f6e;
  --amber: #e2a21c;
  --coral: #c95d56;
  --hero: #071016;
  --shadow: 0 18px 46px rgba(16, 24, 32, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px max(18px, calc((100% - 1120px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand img {
  width: 156px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 750;
  padding: 8px 10px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #eaf5fb;
  color: var(--blue-dark);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 850;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  border-color: #b8c7d3;
}

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--blue-dark);
}


.btn.ghost {
  border-color: #d4e3ea;
  background: #ffffff;
  color: var(--ink);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  border-color: var(--blue);
  background: #eef8fc;
}
.btn.secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  margin-top: 24px;
}

.btn.light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}


.language-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.06);
}

.language-toggle button {
  min-width: 36px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-toggle button[aria-pressed="true"] {
  background: var(--blue);
  color: #fff;
}

.language-toggle span {
  color: #9aa8b5;
  font-weight: 900;
}
.btn.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 116px);
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(31, 124, 175, 0.22), transparent 44%),
    var(--hero);
  padding: 56px 0 46px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 42px;
}

.hero-content {
  max-width: 730px;
}

.hero-logo {
  width: 210px;
  display: block;
  margin-bottom: 22px;
  filter: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: #bfe5f7;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: 4.05rem;
  line-height: 1.03;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 2.55rem;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 22px 0 0;
  color: #e8f2f7;
  font-size: 1.2rem;
}

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

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-tags span,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 850;
}

.hero-tags span {
  color: #ebf7fc;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(127, 222, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(4, 16, 24, 0.98), rgba(6, 27, 39, 0.96));
  color: #ebf8ff;
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 14px;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 0%, transparent 43%, rgba(127, 222, 255, 0.16) 50%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  animation: techCardSweep 7s ease-in-out infinite;
}

.hero-visual-card > * {
  position: relative;
  z-index: 1;
}

.visual-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.visual-card-header span {
  color: #7fdeff;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.visual-card-header strong {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.visual-canvas-wrap {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(127, 222, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(3, 12, 18, 0.98), rgba(9, 37, 54, 0.95)),
    repeating-linear-gradient(90deg, rgba(127, 222, 255, 0.08) 0 1px, transparent 1px 22px);
  box-shadow: inset 0 0 34px rgba(67, 228, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.visual-canvas-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.visual-canvas-wrap::before {
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 5px);
  opacity: 0.22;
}

#growthCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.visual-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.visual-stats span {
  min-height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(127, 222, 255, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  color: #ebf8ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 850;
}


/* Hero opening sequence */
.hero {
  isolation: isolate;
}

.hero-content {
  perspective: 1200px;
}

.hero-logo,
.hero .eyebrow,
#hero-title,
.hero-copy,
.hero-visual-card {
  opacity: 0;
  animation-fill-mode: both;
}



.hero-logo {
  transform-origin: left center;
  animation: heroLogoIgnition 1s cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}
.hero .eyebrow {
  animation: heroKickerEntrance 680ms cubic-bezier(0.16, 1, 0.3, 1) 430ms both;
}

#hero-title {
  position: relative;
  color: #fff;
  text-shadow: 0 0 0 rgba(127, 222, 255, 0);
  transform-origin: left bottom;
  animation:
    heroTitleEntrance 1.15s cubic-bezier(0.13, 0.88, 0.18, 1) 580ms both,
    heroTitleAfterglow 2.4s ease-out 1.45s both;
}

.hero-copy {
  animation: heroCopyEntrance 780ms cubic-bezier(0.16, 1, 0.3, 1) 960ms both;
}

.hero-actions .btn {
  opacity: 0;
  animation: heroButtonEntrance 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions .btn:nth-child(1) {
  animation-delay: 1.18s;
}

.hero-actions .btn:nth-child(2) {
  animation-delay: 1.3s;
}

.hero-tags span {
  opacity: 0;
  animation: heroChipEntrance 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-tags span:nth-child(1) {
  animation-delay: 1.42s;
}

.hero-tags span:nth-child(2) {
  animation-delay: 1.5s;
}

.hero-tags span:nth-child(3) {
  animation-delay: 1.58s;
}

.hero-tags span:nth-child(4) {
  animation-delay: 1.66s;
}

.hero-visual-card {
  transform-origin: right center;
  animation: heroCardEntrance 1.2s cubic-bezier(0.13, 0.88, 0.18, 1) 640ms both;
}

.hero-visual-card .visual-card-header,
.hero-visual-card .visual-canvas-wrap,
.hero-visual-card .visual-stats span {
  opacity: 0;
  animation: heroPanelDetail 760ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-visual-card .visual-card-header {
  animation-delay: 1.06s;
}

.hero-visual-card .visual-canvas-wrap {
  animation-delay: 1.18s;
}

.hero-visual-card .visual-stats span:nth-child(1) {
  animation-delay: 1.34s;
}

.hero-visual-card .visual-stats span:nth-child(2) {
  animation-delay: 1.44s;
}

.hero-visual-card .visual-stats span:nth-child(3) {
  animation-delay: 1.54s;
}


@keyframes heroLogoIgnition {
  0% {
    opacity: 0;
    transform: translate3d(-22px, 10px, 0) scale(0.97);
  }

  62% {
    opacity: 1;
    transform: translate3d(2px, 0, 0) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes heroKickerEntrance {
  0% {
    opacity: 0;
    transform: translate3d(-28px, 0, 0);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroTitleEntrance {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 46px, 0) rotateX(12deg) scale(0.985);
    filter: blur(12px);
  }

  58% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroTitleAfterglow {
  0% {
    text-shadow: 0 0 0 rgba(127, 222, 255, 0);
  }

  42% {
    text-shadow: 0 0 32px rgba(127, 222, 255, 0.32), 0 0 2px rgba(255, 255, 255, 0.55);
  }

  100% {
    text-shadow: 0 0 0 rgba(127, 222, 255, 0);
  }
}

@keyframes heroCopyEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroButtonEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.96);
  }

  72% {
    opacity: 1;
    transform: translate3d(0, -2px, 0) scale(1.015);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroChipEntrance {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.92);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes heroCardEntrance {
  0% {
    opacity: 0;
    transform: translate3d(54px, 18px, 0) rotateY(-8deg) scale(0.96);
    filter: blur(10px) brightness(0.72);
  }

  68% {
    opacity: 1;
    filter: blur(0) brightness(1.12);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateY(0) scale(1);
    filter: blur(0) brightness(1);
  }
}

@keyframes heroPanelDetail {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes techCardSweep {
  0%,
  38% {
    transform: translateX(-120%);
  }

  58%,
  100% {
    transform: translateX(120%);
  }
}


.brand-reveal {
  position: relative;
  overflow: hidden;
  background: #071016;
  color: #fff;
}

.brand-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 18%, rgba(31, 124, 175, 0.24), transparent 34%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.06), transparent 42%);
}

.brand-reveal-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(360px, 1fr);
  align-items: center;
  gap: 34px;
}

.brand-reveal h2 {
  color: #fff;
}

.brand-reveal p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(235, 248, 255, 0.8);
  font-size: 1.05rem;
}

.brand-reveal-media {
  position: relative;
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(127, 222, 255, 0.22);
  border-radius: var(--radius);
  background: #02070c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.brand-reveal-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(1.18) contrast(1.05) saturate(1.06);
  transform: scale(1.01);
  animation: brandImageBreath 10s ease-in-out infinite;
}

.brand-reveal-media::before,
.brand-reveal-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
}

.brand-reveal-media::before {
  inset: -24%;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 45%, rgba(127, 222, 255, 0.26), transparent 26%),
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.18), transparent 24%),
    radial-gradient(circle at 58% 78%, rgba(31, 124, 175, 0.26), transparent 32%),
    linear-gradient(115deg, transparent 10%, rgba(127, 222, 255, 0.12) 42%, transparent 70%);
  filter: blur(14px);
  opacity: 0.78;
  transform: translate3d(-4%, 3%, 0) scale(1.04);
  animation: brandAtmosphereDrift 9s ease-in-out infinite alternate;
}

.brand-reveal-media::after {
  inset: 0;
  z-index: 3;
  background: linear-gradient(108deg, transparent 0%, transparent 34%, rgba(255, 255, 255, 0.24) 46%, rgba(127, 222, 255, 0.22) 50%, transparent 62%, transparent 100%);
  opacity: 0.76;
  transform: translateX(-130%);
  animation: brandLightPass 6.8s ease-in-out infinite;
}

@keyframes brandImageBreath {
  0%,
  100% {
    transform: scale(1.01);
    filter: brightness(1.16) contrast(1.05) saturate(1.05);
  }

  50% {
    transform: scale(1.035);
    filter: brightness(1.28) contrast(1.08) saturate(1.12);
  }
}

@keyframes brandAtmosphereDrift {
  0% {
    transform: translate3d(-5%, 4%, 0) scale(1.04) rotate(-1deg);
    opacity: 0.58;
  }

  50% {
    transform: translate3d(4%, -3%, 0) scale(1.1) rotate(1.4deg);
    opacity: 0.86;
  }

  100% {
    transform: translate3d(8%, 3%, 0) scale(1.06) rotate(-0.6deg);
    opacity: 0.7;
  }
}

@keyframes brandLightPass {
  0%,
  38% {
    transform: translateX(-130%);
    opacity: 0;
  }

  52% {
    opacity: 0.88;
  }

  72%,
  100% {
    transform: translateX(130%);
    opacity: 0;
  }
}


.scroll-brand .brand-reveal-copy .eyebrow,
.scroll-brand .brand-reveal-copy h2,
.scroll-brand .brand-reveal-copy p:not(.eyebrow),
.scroll-brand .brand-reveal-media {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 620ms ease, transform 720ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

.scroll-brand .brand-reveal-copy .eyebrow {
  transform: translate3d(-44px, 0, 0);
}

.scroll-brand .brand-reveal-copy h2 {
  transform: translate3d(-86px, 0, 0);
  transition-delay: 70ms;
}

.scroll-brand .brand-reveal-copy p:not(.eyebrow) {
  transform: translate3d(-58px, 0, 0);
  transition-delay: 150ms;
}

.scroll-brand .brand-reveal-media {
  transform: translate3d(72px, 0, 0) scale(0.98);
  transition-delay: 90ms;
}

.scroll-brand.is-brand-visible .brand-reveal-copy .eyebrow,
.scroll-brand.is-brand-visible .brand-reveal-copy h2,
.scroll-brand.is-brand-visible .brand-reveal-copy p:not(.eyebrow),
.scroll-brand.is-brand-visible .brand-reveal-media {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.scroll-brand.is-brand-instant .brand-reveal-copy .eyebrow,
.scroll-brand.is-brand-instant .brand-reveal-copy h2,
.scroll-brand.is-brand-instant .brand-reveal-copy p:not(.eyebrow),
.scroll-brand.is-brand-instant .brand-reveal-media {
  transition-duration: 0ms;
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-brand .brand-reveal-copy .eyebrow,
  .scroll-brand .brand-reveal-copy h2,
  .scroll-brand .brand-reveal-copy p:not(.eyebrow),
  .scroll-brand .brand-reveal-media {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 900px) {
  .brand-reveal-layout {
    grid-template-columns: 1fr;
  }
}


.section {
  padding: 88px 0;
}

.intro {
  padding-top: 74px;
  background: var(--paper-soft);
}

.two-column,
.first-level-layout,
.impact-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 58px;
  align-items: start;
}

.rich-text {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.rich-text p {
  margin: 0 0 18px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-header p {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 1.05rem;
}

.section-header.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.text-link {
  color: var(--blue-dark);
  font-weight: 900;
  border-bottom: 2px solid #b7deef;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.help-card,
.story-card,
.tool-card,
.portfolio-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.help-card {
  min-height: 218px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.help-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.help-card span {
  color: var(--blue-dark);
  font-weight: 900;
}

.help-card p,
.story-card p,
.portfolio-card p {
  margin: 0;
  color: var(--muted);
}

.help-card.accent {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.help-card.accent span,
.help-card.accent p {
  color: #e6f0f5;
}

.first-level {
  color: #fff;
  background: var(--ink);
}

.first-level h2,
.impact-band h2 {
  color: #fff;
}

.first-level p,
.impact-band p {
  color: #d8e5ec;
  max-width: 660px;
}

.support-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.support-list li {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.story-grid,
.tool-grid,
.portfolio-grid {
  display: grid;
  gap: 18px;
}

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

.story-card {
  overflow: hidden;
}

.story-card h3,
.story-card p,
.story-card .status-tag {
  margin-left: 18px;
  margin-right: 18px;
}

.story-card h3 {
  margin-top: 18px;
}

.story-card p {
  margin-top: 8px;
}

.status-tag {
  margin-top: 16px;
  margin-bottom: 18px;
  color: #17506f;
  background: #e8f6fb;
}

.story-media {
  min-height: 170px;
  display: grid;
  place-items: end start;
  padding: 18px;
  color: #fff;
  background: #183244;
}

.story-media span {
  max-width: 100%;
  font-weight: 950;
  font-size: 1.35rem;
}

.story-a {
  background: #163344;
}

.story-b {
  background: #2e3a2f;
}

.story-c {
  background: #3f2f30;
}

.tools-section {
  background: var(--paper-soft);
}

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

.tool-card {
  min-height: 176px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.tool-card strong {
  font-size: 1.05rem;
}

.tool-card span {
  color: var(--muted);
}

.tool-card:hover {
  border-color: #a5d3e8;
}

.impact-band {
  padding: 76px 0;
  background: var(--blue-dark);
  color: #fff;
}

.impact-meter {
  display: grid;
  gap: 12px;
  align-content: center;
}

.impact-meter span {
  --impact-target: 72%;
  --impact-color: #fff;
  --impact-delay: 0s;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.impact-meter span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--impact-target);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), var(--impact-color));
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.34);
  transform: scaleX(0.16);
  transform-origin: left center;
  animation: impactBarGrow 3.4s cubic-bezier(0.65, 0, 0.25, 1) infinite;
  animation-delay: var(--impact-delay);
}

.impact-meter span::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transform: translateX(-130%);
  animation: impactLightSweep 2.35s ease-in-out infinite;
  animation-delay: var(--impact-delay);
  pointer-events: none;
}

.impact-meter span:nth-child(2) {
  --impact-target: 58%;
  --impact-color: var(--green);
  --impact-delay: 0.28s;
}

.impact-meter span:nth-child(3) {
  --impact-target: 84%;
  --impact-color: var(--amber);
  --impact-delay: 0.56s;
}

.impact-meter span:nth-child(4) {
  --impact-target: 46%;
  --impact-color: var(--coral);
  --impact-delay: 0.84s;
}

@keyframes impactBarGrow {
  0% {
    transform: scaleX(0.16);
    filter: brightness(0.88);
  }

  42% {
    transform: scaleX(1);
    filter: brightness(1.18);
  }

  68% {
    transform: scaleX(0.72);
    filter: brightness(0.96);
  }

  100% {
    transform: scaleX(1);
    filter: brightness(1.08);
  }
}

@keyframes impactLightSweep {
  0%,
  24% {
    transform: translateX(-130%);
    opacity: 0;
  }

  46% {
    opacity: 0.9;
  }

  72%,
  100% {
    transform: translateX(290%);
    opacity: 0;
  }
}

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

.portfolio-card {
  min-height: 202px;
  padding: 20px;
}

.portfolio-card span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portfolio-card h3 {
  margin-bottom: 10px;
}

/* Portfolio project gallery */
.portfolio-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-soft) 54%, #ffffff 100%);
}

.portfolio-intro {
  align-items: flex-start;
  margin-bottom: 28px;
}

.portfolio-intro > div {
  max-width: 850px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: #b8d9e9;
  box-shadow: var(--shadow);
}

.project-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf2f6;
}

.project-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0) 48%, rgba(16, 24, 32, 0.34) 100%);
  pointer-events: none;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.company-card .logo-panel {
  min-height: 214px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: linear-gradient(135deg, #f7fbfd, #e9f3f8);
}

.company-card .logo-panel::after {
  display: none;
}

.company-card .logo-panel img {
  width: 86%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(16, 24, 32, 0.12));
}

.company-card:hover .logo-panel img,
.company-card:focus-visible .logo-panel img {
  transform: scale(1.045);
}

.theme-propre-t .logo-panel {
  background: linear-gradient(135deg, #eefaf5, #dcefe7);
}

.theme-chez-marie-pou .logo-panel {
  background: linear-gradient(135deg, #fff4ef, #ffe0d2);
}

.theme-grima .logo-panel {
  background: linear-gradient(135deg, #edf8ef, #d7eadc);
}

.theme-grill-quebec .logo-panel {
  background: linear-gradient(135deg, #161616, #3c2620);
}

.theme-larose .logo-panel {
  background: linear-gradient(135deg, #fff6fb, #f5dfe9);
}

.theme-menu-maison .logo-panel {
  background: linear-gradient(135deg, #fff7e9, #eaf4e5);
}

.project-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.project-card-services em {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 8px;
  border: 1px solid #dbe7ee;
  border-radius: 6px;
  background: #f7fafc;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.project-card-body {
  min-width: 0;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.project-card-kicker {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid #cfe4ef;
  border-radius: 6px;
  background: #edf7fb;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-card strong {
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.2;
  font-weight: 950;
}

.project-card-body > span:not(.project-card-kicker):not(.project-card-action):not(.project-card-services) {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.project-card-action {
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 950;
}

.gallery-capabilities {
  margin-top: 18px;
}

.project-dialog {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
}

.project-dialog::backdrop {
  background: rgba(7, 16, 22, 0.66);
  backdrop-filter: blur(8px);
}

.project-dialog-shell {
  position: relative;
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(7, 16, 22, 0.32);
}

.project-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 24, 32, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.project-dialog-media {
  min-height: 100%;
  background: var(--ink);
}

.project-dialog-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.project-dialog-content {
  padding: 30px;
}

.project-dialog-content h3 {
  margin: 8px 48px 12px 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.06;
}

.project-dialog-summary {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.04rem;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.project-fact,
.project-presentation article,
.project-deliverables {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbfd;
}

.project-fact {
  min-width: 0;
  padding: 12px;
}

.project-fact span,
.project-presentation h4,
.project-deliverables h4 {
  display: block;
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-fact strong {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.25;
}

.project-presentation {
  display: grid;
  gap: 10px;
}

.project-presentation article {
  padding: 14px;
}

.project-presentation p {
  margin: 0;
  color: var(--muted);
}

.project-deliverables {
  margin-top: 10px;
  padding: 14px;
}

.project-deliverables ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-deliverables li {
  padding: 7px 9px;
  border: 1px solid #dbe7ee;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 850;
}


/* Full-screen company cards */
.company-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  min-height: 0;
  isolation: isolate;
}

.company-card .project-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
  padding: 0;
  background: var(--ink);
}

.company-card .project-card-image::after {
  display: block;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 16, 22, 0.08) 0%, rgba(7, 16, 22, 0.24) 42%, rgba(7, 16, 22, 0.86) 100%);
}

.company-card .project-card-image img,
.company-card .project-card-image video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.company-card .project-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  min-height: 0;
  padding: 18px;
  color: #fff;
}

.company-card .project-card-kicker {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(7, 16, 22, 0.42);
  color: #fff;
  backdrop-filter: blur(8px);
}

.company-card strong {
  color: #fff;
  font-size: 1.34rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.company-card .project-card-body > span:not(.project-card-kicker):not(.project-card-action):not(.project-card-services):not(.project-card-quote) {
  color: rgba(255, 255, 255, 0.86);
}

.company-card .project-card-action {
  color: #fff;
}

.company-card .project-card-services em {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  backdrop-filter: blur(8px);
}

.project-card-quote {
  display: inline-flex;
  width: fit-content;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
  backdrop-filter: blur(8px);
}

.theme-menu-maison .logo-full {
  background: linear-gradient(135deg, #fff7e9, #dfeeda);
}

.theme-menu-maison .logo-full img {
  object-fit: contain;
  padding: 8px;
  transform: scale(1.18);
  filter: drop-shadow(0 16px 30px rgba(16, 24, 32, 0.22));
}

.company-card:hover .project-card-image video,
.company-card:focus-visible .project-card-image video {
  transform: scale(1.035);
}
.theme-menu-maison:hover .logo-full img,
.theme-menu-maison:focus-visible .logo-full img {
  transform: scale(1.22);
}


/* Interactive project presentation */
.presentation-dialog {
  width: min(1180px, calc(100% - 32px));
}

.presentation-dialog::backdrop {
  background: rgba(7, 16, 22, 0.78);
  backdrop-filter: blur(10px);
}

.presentation-shell {
  grid-template-columns: minmax(330px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  background: #071016;
  color: #fff;
}

.presentation-dialog.presentation-ready .presentation-shell {
  animation: presentationPop 320ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.presentation-stage {
  position: relative;
  min-height: min(78vh, 740px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 28px;
  background: #071016;
}

.presentation-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 16, 22, 0.04) 0%, rgba(7, 16, 22, 0.36) 42%, rgba(7, 16, 22, 0.94) 100%);
}

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

.presentation-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
  animation: presentationMediaDrift 14s ease-in-out infinite alternate;
}

.presentation-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.presentation-atmosphere span {
  position: absolute;
  width: 120px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 22px rgba(127, 222, 255, 0.36);
  animation: presentationScan 4.8s ease-in-out infinite;
}

.presentation-atmosphere span:nth-child(1) {
  left: 12%;
  top: 18%;
}

.presentation-atmosphere span:nth-child(2) {
  right: 10%;
  top: 44%;
  animation-delay: 1.1s;
}

.presentation-atmosphere span:nth-child(3) {
  left: 28%;
  bottom: 28%;
  animation-delay: 2.2s;
}

.presentation-cover {
  position: relative;
  z-index: 3;
  width: 100%;
  color: #fff;
}

.presentation-dialog.presentation-ready .presentation-cover > * {
  animation: presentationRise 420ms ease both;
}

.presentation-dialog.presentation-ready .presentation-cover > *:nth-child(2) {
  animation-delay: 80ms;
}

.presentation-dialog.presentation-ready .presentation-cover > *:nth-child(3) {
  animation-delay: 140ms;
}

.presentation-dialog.presentation-ready .presentation-cover > *:nth-child(4) {
  animation-delay: 200ms;
}

.presentation-cover .eyebrow,
.presentation-cover h3,
.presentation-cover .project-dialog-summary {
  color: #fff;
}

.presentation-cover h3 {
  margin: 8px 0 12px;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.presentation-cover .project-dialog-summary {
  max-width: 560px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.84);
}

.presentation-facts {
  grid-template-columns: 1fr;
  margin: 0;
}

.presentation-facts .project-fact {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(12px);
  animation: presentationFactIn 420ms ease both;
  animation-delay: calc(260ms + var(--item-index, 0) * 80ms);
}

.presentation-facts .project-fact span,
.presentation-facts .project-fact strong {
  color: #fff;
}

.presentation-panel {
  min-height: min(78vh, 740px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(180deg, #ffffff, #f6f9fb);
  color: var(--ink);
}

.presentation-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe7ee;
}

.presentation-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber));
  transition: width 280ms ease;
}

.presentation-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.presentation-deck {
  position: relative;
  min-height: 410px;
  flex: 1;
  display: block;
  overflow: hidden;
}

.presentation-deck .project-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #ffffff, #f3f8fb);
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px) scale(0.98);
  transition: opacity 240ms ease, transform 300ms ease;
}

.presentation-deck .project-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.slide-count {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 6px;
  background: #edf7fb;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 950;
}

.presentation-deck .project-slide h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.presentation-deck .project-slide p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.24rem);
  line-height: 1.55;
}

.slide-chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
}

.slide-chip-list li {
  padding: 9px 11px;
  border: 1px solid #dbe7ee;
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.presentation-controls {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 12px;
}

.presentation-controls > button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 950;
  cursor: pointer;
}

.presentation-controls > button:disabled {
  opacity: 0.35;
  cursor: default;
}

.presentation-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.presentation-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c8d7e0;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.presentation-dots button.is-active {
  width: 32px;
  background: var(--blue-dark);
}

@keyframes presentationPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes presentationRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes presentationFactIn {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes presentationMediaDrift {
  from {
    transform: scale(1.04) translate3d(-1.4%, -0.8%, 0);
  }

  to {
    transform: scale(1.1) translate3d(1.2%, 0.9%, 0);
  }
}

@keyframes presentationScan {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-40px);
  }

  45% {
    opacity: 0.85;
  }

  70% {
    transform: translateX(90px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .presentation-dialog.presentation-ready .presentation-shell,
  .presentation-dialog.presentation-ready .presentation-cover > *,
  .presentation-facts .project-fact,
  .presentation-media img,
  .presentation-atmosphere span {
    animation: none;
  }

  .presentation-deck .project-slide,
  .presentation-progress span,
  .presentation-dots button {
    transition: none;
  }
}
body.project-dialog-open {
  overflow: hidden;
}


@media (max-width: 1120px) {
  .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 900px) {
  .portfolio-capabilities,
  .portfolio-capabilities ul,
  .project-dialog-shell {
    grid-template-columns: 1fr;
  }

  .project-dialog-media img {
    min-height: 320px;
    max-height: 420px;
  }
}

@media (max-width: 680px) {
  .project-gallery,
  .project-facts {
    grid-template-columns: 1fr;
  }

  .project-card-body {
    min-height: 0;
    padding: 16px;
  }

  .project-dialog {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
  }

  .project-dialog-shell {
    max-height: calc(100vh - 18px);
  }

  .project-dialog-content {
    padding: 20px 16px 18px;
  }

  .project-dialog-content h3 {
    margin-right: 44px;
    font-size: 1.72rem;
  }
}
.contact-section {
  background: var(--paper-soft);
}

.contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
}

.contact-layout > div > p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-form {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.span-2,
.form-actions.span-2 {
  grid-column: span 2;
}

label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 850;
}

label span {
  color: var(--muted);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

textarea {
  resize: vertical;
  min-height: 132px;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(31, 124, 175, 0.14);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-status {
  margin: 0;
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-layout {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}

.site-footer img {
  width: 150px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 750;
}

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

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


@media (max-width: 1120px) {
  .site-header {
    padding-left: 18px;
    padding-right: 18px;
  }

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

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


@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 3.3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .two-column,
  .first-level-layout,
  .impact-layout,
  .contact-layout,
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual-card {
    max-width: 620px;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    position: static;
  }

  .site-brand img {
    width: 134px;
  }

  .site-header > .btn {
    width: 100%;
  }

  .site-nav a {
    padding: 7px 8px;
  }

  .hero {
    min-height: calc(100svh - 112px);
    padding: 42px 0 34px;
  }

  .hero-logo {
    width: 168px;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .visual-canvas-wrap {
    min-height: 280px;
  }

  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .help-grid,
  .tool-grid,
  .portfolio-grid,
  .support-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-row.span-2,
  .form-actions.span-2 {
    grid-column: auto;
  }

  .section-header.split,
  .footer-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  .btn,
  .help-card,
  .reveal {
    transition: none;
  }

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





/* Responsive refinement */
body {
  overflow-x: hidden;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
}

.visual-canvas-wrap {
  aspect-ratio: 1.2;
  min-height: 320px;
}


@media (max-width: 1120px) {
  h1 {
    font-size: 3.55rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: 30px;
  }

  .visual-canvas-wrap {
    min-height: 300px;
  }

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

@media (max-width: 760px) {
  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .site-nav a {
    min-height: 38px;
    display: grid;
    place-items: center;
    padding: 7px 6px;
    text-align: center;
    background: #f6f9fb;
  }

  .hero {
    min-height: auto;
  }

  .hero-tags {
    gap: 7px;
  }

  .hero-tags span {
    flex: 1 1 calc(50% - 7px);
    justify-content: center;
  }

  .hero-visual-card {
    max-width: none;
    padding: 10px;
  }

  .visual-card-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .visual-canvas-wrap {
    min-height: 244px;
  }

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

@media (max-width: 420px) {
  .container {
    width: min(100% - 20px, 1120px);
  }

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

  h1 {
    font-size: 2.08rem;
  }

  h2 {
    font-size: 1.54rem;
  }

  .hero-logo {
    width: 148px;
  }

  .visual-canvas-wrap {
    min-height: 218px;
  }

  .visual-stats {
    grid-template-columns: 1fr;
  }

  .help-card,
  .tool-card,
  .portfolio-card,
  .contact-form {
    padding: 16px;
  }
}

/* Responsive correction pass */

@media (max-width: 900px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .help-grid {
    grid-template-columns: 1fr;
  }
}

/* Commercial offer page */
.commercial-header {
  border-bottom-color: rgba(17, 90, 131, 0.22);
}

.commercial-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(17, 90, 131, 0.9), rgba(16, 24, 32, 0.98) 54%),
    var(--hero);
  padding: 86px 0 76px;
}

.commercial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.32;
}

.commercial-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  align-items: center;
  gap: 44px;
}

.commercial-hero h1 {
  max-width: 760px;
}

.commercial-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.commercial-panel span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.commercial-soft {
  background: var(--paper-soft);
}

.commercial-grid,
.solution-grid {
  display: grid;
  gap: 16px;
}

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

.commercial-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.commercial-card span {
  color: var(--blue-dark);
  font-weight: 950;
}

.commercial-card p {
  margin: 0;
  color: var(--muted);
}

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

.solution-grid article {
  min-height: 94px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink-soft);
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.commercial-dark {
  color: #fff;
  background: var(--ink);
}

.commercial-dark h2,
.commercial-dark .section-header p {
  color: #fff;
}

.method-list {
  counter-reset: method;
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.method-list li {
  counter-increment: method;
  display: grid;
  grid-template-columns: 54px minmax(0, 0.36fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.method-list li::before {
  content: counter(method);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 950;
}

.method-list strong {
  font-size: 1.02rem;
}

.method-list span {
  color: #d8e5ec;
}


@media (max-width: 1120px) {
  .commercial-grid,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 900px) {
  .commercial-hero-layout {
    grid-template-columns: 1fr;
  }

  .commercial-panel {
    max-width: 620px;
  }

  .method-list li {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .method-list span {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .commercial-hero {
    padding: 54px 0 48px;
  }

  .commercial-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .commercial-card {
    min-height: auto;
  }
}

.coming-soon-panel {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.coming-soon-panel h3 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.coming-soon-panel p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

@media (max-width: 680px) {
  .coming-soon-panel {
    padding: 20px;
  }
}

.help-card:focus-visible {
  outline: 3px solid rgba(31, 124, 175, 0.28);
  outline-offset: 3px;
}
/* Mobile hamburger navigation */
.menu-toggle {
  display: none;
}

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 58px;
    padding: 12px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 40;
  }

  .site-brand,
  .site-header > .btn,
  .site-nav {
    display: none;
  }
  .language-toggle {
    min-height: 44px;
    margin-right: 8px;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(7, 16, 22, 0.68);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(12px);
  }

  .language-toggle span {
    color: rgba(255, 255, 255, 0.68);
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--radius);
    background: rgba(7, 16, 22, 0.68);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(12px);
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
    border-radius: 999px;
  }

  .site-header.menu-open {
    position: fixed;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 42px rgba(16, 24, 32, 0.12);
    backdrop-filter: blur(14px);
  }

  .site-header.menu-open .menu-toggle {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
  }
  .site-header.menu-open .language-toggle {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
  }

  .site-header.menu-open .language-toggle span {
    color: #9aa8b5;
  }

  .site-header.menu-open .site-nav {
    order: 2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 10px;
  }

  .site-header.menu-open .site-nav a {
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 9px 10px;
    background: #f6f9fb;
    text-align: center;
  }

  .site-header.menu-open > .btn {
    order: 3;
    width: 100%;
    display: inline-flex;
    margin-top: 8px;
  }

  .hero,
  .commercial-hero {
    padding-top: 58px;
  }
}
/* Legal pages */
.legal-page {
  background: var(--paper);
}

.legal-hero {
  padding: 88px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.legal-hero h1 {
  max-width: 840px;
  margin: 8px 0 10px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.legal-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.legal-section {
  padding-top: 46px;
}

.legal-content {
  max-width: 860px;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 32px !important;
  padding: 16px 18px;
  border-left: 4px solid var(--blue);
  background: var(--paper-soft);
  color: var(--muted) !important;
}


@media (max-width: 900px) {
  .legal-hero {
    padding: 78px 0 28px;
  }

  .legal-section {
    padding-top: 34px;
  }
}

/* Audit hardening */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 10px 14px;
  font-weight: 900;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid rgba(31, 124, 175, 0.32);
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-note a {
  color: var(--blue-dark);
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-card:focus-visible,
.text-link:focus-visible,
.site-footer a:focus-visible,
.language-toggle button:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(31, 124, 175, 0.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo,
  .hero .eyebrow,
  #hero-title,
  .hero-copy,
  .hero-actions .btn,
  .hero-tags span,
  .hero-visual-card,
  .hero-visual-card .visual-card-header,
  .hero-visual-card .visual-canvas-wrap,
  .hero-visual-card .visual-stats span {
    opacity: 1;
    clip-path: none;
    transform: none;
    filter: none;
    text-shadow: none;
    animation: none;
  }

  .hero-visual-card::before {
    animation: none;
  }
}

/* Premium page pass */
main > .section:not(.hero),
.impact-band {
  position: relative;
  isolation: isolate;
}

.intro {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 68%, #f4fafc 100%);
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 90, 131, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 90, 131, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  opacity: 0.52;
}

.intro h2,
.section-header h2,
.impact-layout h2,
.contact-layout h2 {
  max-width: 820px;
  text-wrap: balance;
}

.intro h2 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.98;
}

.rich-text {
  position: relative;
  padding: 8px 0 8px 30px;
  border-left: 1px solid rgba(17, 90, 131, 0.18);
}

.rich-text::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 8px;
  width: 3px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--green), var(--amber));
  box-shadow: 0 0 26px rgba(31, 124, 175, 0.28);
}

.rich-text p {
  max-width: 660px;
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}

#aide {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}

#aide::before,
.portfolio-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  opacity: 0.64;
}

.section-header {
  margin-bottom: 36px;
}

.section-header.split {
  align-items: flex-start;
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 0;
}

.text-link::after {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform-origin: left center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1.35);
  opacity: 0.72;
}

.help-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.help-card {
  position: relative;
  overflow: hidden;
  min-height: 246px;
  padding: 22px;
  border-color: rgba(17, 90, 131, 0.13);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 253, 0.94));
  box-shadow:
    0 18px 46px rgba(16, 24, 32, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: translateZ(0);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.help-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 3px solid var(--blue);
  pointer-events: none;
}

.help-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.72) 45%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
  pointer-events: none;
}

.help-card:hover,
.help-card:focus-visible {
  transform: translateY(-7px);
  border-color: rgba(31, 124, 175, 0.36);
  box-shadow:
    0 28px 70px rgba(16, 24, 32, 0.16),
    0 0 0 1px rgba(31, 124, 175, 0.08);
}

.help-card:hover::after,
.help-card:focus-visible::after {
  transform: translateX(120%);
}

.help-card span {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 6px;
  background: #eaf7fc;
}

.help-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.12;
}

.help-card p {
  line-height: 1.52;
}

.help-card.accent {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, #071016 0%, #102b3b 58%, #155a80 100%);
  box-shadow:
    0 30px 76px rgba(7, 16, 22, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.help-card.accent::before {
  border-top-color: var(--green);
}

.help-card.accent span {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.first-level {
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(31, 124, 175, 0.22) 0%, transparent 38%),
    linear-gradient(135deg, #071016 0%, #0c202b 48%, #091117 100%);
}

.first-level::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 100%);
  opacity: 0.74;
}

.first-level-layout {
  align-items: center;
}

.first-level .btn.primary {
  margin-top: 14px;
  box-shadow: 0 18px 38px rgba(31, 124, 175, 0.32);
}

.support-list {
  gap: 12px;
  perspective: 900px;
}

.support-list li {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 14px 16px;
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.support-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(15, 159, 110, 0.72);
}

.support-list li:nth-child(3n + 2)::before {
  background: var(--blue);
  box-shadow: 0 0 18px rgba(31, 124, 175, 0.72);
}

.support-list li:nth-child(3n)::before {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(226, 162, 28, 0.72);
}

.support-list li:hover {
  transform: translateY(-4px) rotateX(3deg);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
}

#histoires {
  background: #ffffff;
}

.tools-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
}

.coming-soon-panel {
  position: relative;
  overflow: hidden;
  max-width: none;
  min-height: 260px;
  display: grid;
  align-content: end;
  padding: clamp(24px, 4vw, 42px);
  border-color: rgba(17, 90, 131, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 252, 0.94));
  box-shadow:
    0 24px 70px rgba(16, 24, 32, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.coming-soon-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber), var(--coral));
}

.coming-soon-panel::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: min(34vw, 290px);
  aspect-ratio: 1;
  border: 1px solid rgba(31, 124, 175, 0.16);
  background:
    repeating-linear-gradient(90deg, rgba(17, 90, 131, 0.1) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(0deg, rgba(17, 90, 131, 0.07) 0 1px, transparent 1px 16px);
  transform: rotate(8deg);
  opacity: 0.48;
  pointer-events: none;
}

.coming-soon-panel .status-tag,
.status-tag {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 6px 10px;
  border: 1px solid rgba(31, 124, 175, 0.16);
  border-radius: 999px;
  background: #eaf7fc;
  color: var(--blue-dark);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.status-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(15, 159, 110, 0.54);
}

.coming-soon-panel h3 {
  position: relative;
  max-width: 680px;
  margin-top: 18px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.02;
}

.coming-soon-panel p {
  position: relative;
  max-width: 680px;
  font-size: 1.04rem;
  line-height: 1.62;
}

.impact-band {
  overflow: hidden;
  padding: clamp(78px, 9vw, 118px) 0;
  background:
    linear-gradient(135deg, #071016 0%, #0b1b22 36%, #113848 70%, #071016 100%);
}

.impact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.09) 42%, transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 86px);
  animation: premiumSweep 8s ease-in-out infinite;
  opacity: 0.55;
}

.impact-layout {
  align-items: center;
}

.impact-layout h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.impact-meter {
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 28px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.impact-meter span {
  height: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.portfolio-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f9fb 48%, #ffffff 100%);
}

.portfolio-intro {
  margin-bottom: 34px;
}

.portfolio-intro h2 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  line-height: 1.02;
}

.project-gallery {
  gap: 20px;
}

.project-card {
  border-color: rgba(17, 90, 131, 0.14);
  border-radius: var(--radius);
  box-shadow:
    0 18px 52px rgba(16, 24, 32, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(31, 124, 175, 0.42);
  box-shadow:
    0 32px 86px rgba(16, 24, 32, 0.2),
    0 0 0 1px rgba(31, 124, 175, 0.08);
}

.project-card:hover::before,
.project-card:focus-visible::before {
  opacity: 1;
}

.company-card .project-card-image::after {
  background:
    linear-gradient(180deg, rgba(7, 16, 22, 0.02) 0%, rgba(7, 16, 22, 0.18) 34%, rgba(7, 16, 22, 0.88) 100%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 62%);
}

.company-card .project-card-body {
  padding: 20px;
  transform: translateY(6px);
  transition: transform 220ms ease;
}

.company-card:hover .project-card-body,
.company-card:focus-visible .project-card-body {
  transform: translateY(0);
}

.company-card .project-card-kicker,
.company-card .project-card-services em,
.project-card-quote {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.company-card .project-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.company-card .project-card-action::after {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 180ms ease;
}

.company-card:hover .project-card-action::after,
.company-card:focus-visible .project-card-action::after {
  transform: scaleX(1.35);
}

.portfolio-capabilities {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 4vw, 42px);
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(17, 90, 131, 0.15);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, #ffffff, #f5fafc);
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.1);
}

.portfolio-capabilities::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber), var(--coral));
}

.portfolio-capabilities h3 {
  margin: 8px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.08;
}

.portfolio-capabilities ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portfolio-capabilities li {
  min-height: 142px;
  padding: 18px;
  border: 1px solid rgba(17, 90, 131, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.portfolio-capabilities strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.02rem;
}

.portfolio-capabilities span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.contact-section {
  overflow: hidden;
  background:
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%);
}

.contact-layout {
  align-items: stretch;
}

.contact-layout > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-layout > div > p:last-child {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.64;
}

.contact-form {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 34px);
  border-color: rgba(17, 90, 131, 0.14);
  background:
    linear-gradient(145deg, #ffffff, #f7fbfd);
  box-shadow:
    0 30px 86px rgba(16, 24, 32, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--amber));
}

input,
textarea {
  border-color: rgba(17, 90, 131, 0.16);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

input:hover,
textarea:hover {
  border-color: rgba(31, 124, 175, 0.34);
}

input:focus,
textarea:focus {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 4px rgba(31, 124, 175, 0.12),
    0 16px 34px rgba(16, 24, 32, 0.08);
}

.form-actions .btn.primary {
  min-width: min(100%, 240px);
  box-shadow: 0 18px 38px rgba(31, 124, 175, 0.25);
}

.form-note {
  padding-top: 2px;
}

.site-footer {
  border-top: 0;
  background:
    linear-gradient(135deg, #071016 0%, #0d1d24 62%, #071016 100%);
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

.site-footer img {
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.24));
}

.reveal {
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal:nth-of-type(2n) {
  transform: translateY(22px);
}

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

@keyframes premiumSweep {
  0%,
  100% {
    transform: translateX(-18%);
    opacity: 0.36;
  }

  50% {
    transform: translateX(18%);
    opacity: 0.7;
  }
}

@media (max-width: 1120px) {
  .help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-capabilities {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .rich-text {
    padding-left: 22px;
  }

  .help-grid,
  .portfolio-capabilities ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  .intro h2,
  .portfolio-intro h2,
  .impact-layout h2 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .rich-text {
    padding-left: 18px;
  }

  .help-grid,
  .support-list,
  .portfolio-capabilities ul {
    grid-template-columns: 1fr;
  }

  .help-card {
    min-height: 210px;
  }

  .coming-soon-panel {
    min-height: 236px;
  }

  .coming-soon-panel::after {
    width: 220px;
    right: -72px;
    top: 18px;
  }

  .impact-meter,
  .portfolio-capabilities,
  .contact-form {
    padding: 20px;
  }

  .company-card .project-card-body {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .help-card,
  .help-card::after,
  .support-list li,
  .project-card,
  .company-card .project-card-body,
  .company-card .project-card-action::after,
  .text-link::after,
  input,
  textarea {
    transition: none;
  }

  .impact-band::before {
    animation: none;
  }
}
/* Cinematic scroll motion */
.motion-ready .motion-item {
  transform-origin: center;
  will-change: opacity, transform, filter, clip-path;
}

.motion-ready:not(.is-cinematic-visible) .motion-item {
  opacity: 0;
  filter: blur(8px);
}

.motion-ready:not(.is-cinematic-visible) .motion-kicker {
  transform: translate3d(-22px, 8px, 0);
}

.motion-ready:not(.is-cinematic-visible) .motion-title {
  transform: translate3d(0, 32px, 0);
  clip-path: inset(0 0 100% 0);
}

.motion-ready:not(.is-cinematic-visible) .motion-copy-line {
  transform: translate3d(0, 18px, 0);
}

.motion-ready:not(.is-cinematic-visible) .motion-step-card {
  transform: translate3d(0, 36px, 0) scale(0.965);
}

.motion-ready:not(.is-cinematic-visible) .motion-chip-step {
  transform: translate3d(18px, 0, 0) scale(0.96);
}

.motion-ready:not(.is-cinematic-visible) .motion-panel-wipe {
  transform: translate3d(0, 20px, 0) scale(0.985);
  clip-path: inset(0 100% 0 0);
}

.motion-ready:not(.is-cinematic-visible) .motion-panel-lift,
.motion-ready:not(.is-cinematic-visible) .motion-form-stage {
  transform: translate3d(0, 30px, 0) scale(0.985);
}

.motion-ready:not(.is-cinematic-visible) .motion-impact-bar {
  transform: scaleX(0.18);
  transform-origin: left center;
}

.motion-ready:not(.is-cinematic-visible) .motion-gallery-card {
  transform: translate3d(0, 34px, 0) scale(0.975);
  clip-path: inset(14% 0 0 0);
}

.motion-ready:not(.is-cinematic-visible) .motion-detail-card,
.motion-ready:not(.is-cinematic-visible) .motion-form-row,
.motion-ready:not(.is-cinematic-visible) .motion-cta {
  transform: translate3d(0, 16px, 0);
}

.motion-ready.is-cinematic-visible .motion-item {
  opacity: 1;
  filter: none;
  clip-path: none;
  animation-duration: 760ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-fill-mode: backwards;
  animation-delay: calc(var(--motion-index, 0) * 54ms);
}

.motion-ready.is-cinematic-visible .motion-kicker {
  animation-name: narrativeKicker;
  animation-duration: 620ms;
}

.motion-ready.is-cinematic-visible .motion-title {
  animation-name: narrativeTitle;
  animation-duration: 820ms;
  animation-delay: calc(var(--motion-index, 0) * 48ms);
}

.motion-ready.is-cinematic-visible .motion-copy-line {
  animation-name: narrativeCopy;
  animation-duration: 660ms;
}

.motion-ready.is-cinematic-visible .motion-step-card {
  animation-name: narrativeStepCard;
  animation-duration: 760ms;
  animation-delay: calc(120ms + var(--motion-index, 0) * 70ms);
}

.motion-ready.is-cinematic-visible .motion-chip-step {
  animation-name: narrativeChip;
  animation-duration: 560ms;
  animation-delay: calc(80ms + var(--motion-index, 0) * 42ms);
}

.motion-ready.is-cinematic-visible .motion-panel-wipe {
  animation-name: narrativePanelWipe;
  animation-duration: 900ms;
}

.motion-ready.is-cinematic-visible .motion-panel-lift,
.motion-ready.is-cinematic-visible .motion-form-stage {
  animation-name: narrativePanelLift;
  animation-duration: 820ms;
}

.motion-ready.is-cinematic-visible .motion-impact-bar {
  animation-name: narrativeImpactBar;
  animation-duration: 720ms;
  animation-delay: calc(160ms + var(--motion-index, 0) * 90ms);
  transform-origin: left center;
}

.motion-ready.is-cinematic-visible .motion-gallery-card {
  animation-name: narrativeGalleryCard;
  animation-duration: 860ms;
  animation-delay: calc(100ms + var(--motion-index, 0) * 74ms);
}

.motion-ready.is-cinematic-visible .motion-detail-card {
  animation-name: narrativeDetailCard;
  animation-duration: 620ms;
  animation-delay: calc(180ms + var(--motion-index, 0) * 44ms);
}

.motion-ready.is-cinematic-visible .motion-form-row,
.motion-ready.is-cinematic-visible .motion-cta {
  animation-name: narrativeCopy;
  animation-duration: 580ms;
}

.motion-ready.is-cinematic-visible .project-card-image:not(.logo-full) img,
.motion-ready.is-cinematic-visible .project-card-image video {
  animation: narrativeMediaSettle 920ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(120ms + var(--motion-index, 0) * 48ms);
}

.motion-scene-aide.is-cinematic-visible .help-card:nth-child(1)::before,
.motion-scene-aide.is-cinematic-visible .help-card:nth-child(2)::before,
.motion-scene-aide.is-cinematic-visible .help-card:nth-child(3)::before,
.motion-scene-aide.is-cinematic-visible .help-card:nth-child(4)::before,
.motion-scene-aide.is-cinematic-visible .help-card:nth-child(5)::before,
.motion-ready.is-cinematic-visible .rich-text::before,
.motion-ready.is-cinematic-visible .portfolio-capabilities::before,
.motion-ready.is-cinematic-visible .contact-form::before,
.motion-ready.is-cinematic-visible .coming-soon-panel::before {
  animation: narrativeLineDraw 820ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.motion-scene-impact.is-cinematic-visible .impact-meter span::after {
  animation-duration: 2.8s;
}

@keyframes narrativeKicker {
  0% {
    opacity: 0;
    transform: translate3d(-22px, 8px, 0);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes narrativeTitle {
  0% {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    clip-path: inset(0 0 100% 0);
    filter: blur(10px);
  }

  58% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@keyframes narrativeCopy {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(7px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes narrativeStepCard {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0) scale(0.965);
    filter: blur(9px) saturate(0.94);
  }

  70% {
    opacity: 1;
    transform: translate3d(0, -5px, 0) scale(1.008);
    filter: blur(0) saturate(1.04);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) saturate(1);
  }
}

@keyframes narrativeChip {
  0% {
    opacity: 0;
    transform: translate3d(18px, 0, 0) scale(0.96);
    filter: blur(6px);
  }

  72% {
    opacity: 1;
    transform: translate3d(-2px, 0, 0) scale(1.01);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes narrativePanelWipe {
  0% {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.985);
    clip-path: inset(0 100% 0 0);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 0 0);
    filter: blur(0);
  }
}

@keyframes narrativePanelLift {
  0% {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
    filter: blur(10px);
  }

  66% {
    opacity: 1;
    transform: translate3d(0, -4px, 0) scale(1.006);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes narrativeImpactBar {
  0% {
    opacity: 0;
    transform: scaleX(0.18);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
    filter: blur(0);
  }
}

@keyframes narrativeGalleryCard {
  0% {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.975);
    clip-path: inset(14% 0 0 0);
    filter: blur(10px) saturate(0.94);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    clip-path: inset(0 0 0 0);
    filter: blur(0) saturate(1);
  }
}

@keyframes narrativeDetailCard {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    filter: blur(7px);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes narrativeMediaSettle {
  0% {
    opacity: 0.82;
    transform: scale(1.06);
    filter: blur(6px) saturate(0.94) contrast(0.98);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1.04) contrast(1.01);
  }
}

@keyframes narrativeLineDraw {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }

  100% {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@media (max-width: 680px) {
  .motion-ready:not(.is-cinematic-visible) .motion-title,
  .motion-ready:not(.is-cinematic-visible) .motion-copy-line,
  .motion-ready:not(.is-cinematic-visible) .motion-step-card,
  .motion-ready:not(.is-cinematic-visible) .motion-gallery-card,
  .motion-ready:not(.is-cinematic-visible) .motion-form-row {
    transform: translate3d(0, 22px, 0) scale(0.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .motion-item,
  .motion-ready.is-cinematic-visible .motion-item,
  .motion-ready.is-cinematic-visible .project-card-image:not(.logo-full) img,
  .motion-ready.is-cinematic-visible .project-card-image video,
  .motion-ready.is-cinematic-visible .rich-text::before,
  .motion-ready.is-cinematic-visible .portfolio-capabilities::before,
  .motion-ready.is-cinematic-visible .contact-form::before,
  .motion-ready.is-cinematic-visible .coming-soon-panel::before {
    opacity: 1;
    transform: none;
    clip-path: none;
    filter: none;
    animation: none;
  }
}
/* Mobile project dialog scroll fix */
@media (max-width: 680px) {
  .project-dialog,
  .presentation-dialog {
    width: calc(100% - 14px);
    height: calc(100vh - 14px);
    height: calc(100dvh - 14px);
    max-height: calc(100vh - 14px);
    max-height: calc(100dvh - 14px);
    overflow: hidden;
  }

  .project-dialog-shell,
  .presentation-shell {
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
  }

  .project-dialog-close {
    position: fixed;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    z-index: 6;
  }

  .presentation-stage {
    min-height: min(52vh, 430px);
    min-height: min(52dvh, 430px);
    padding: 22px 16px 18px;
  }

  .presentation-cover h3 {
    margin-right: 48px;
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .presentation-cover .project-dialog-summary {
    margin-bottom: 14px;
    font-size: 0.98rem;
  }

  .presentation-facts {
    gap: 8px;
  }

  .presentation-facts .project-fact {
    padding: 10px;
  }

  .presentation-panel {
    min-height: auto;
    padding: 20px 14px 14px;
  }

  .presentation-deck {
    min-height: 0;
    overflow: visible;
    flex: 0 0 auto;
  }

  .presentation-deck .project-slide {
    position: relative;
    inset: auto;
    min-height: 0;
    display: none;
    justify-content: flex-start;
    padding: 20px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .presentation-deck .project-slide.is-active {
    display: flex;
    transform: none;
  }

  .presentation-deck .project-slide h4 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .presentation-deck .project-slide p {
    font-size: 1rem;
  }

  .slide-chip-list {
    gap: 8px;
  }

  .slide-chip-list li {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  .presentation-controls {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin: 0 -14px -14px;
    padding: 12px 14px 14px;
    background: linear-gradient(180deg, rgba(246, 249, 251, 0), #f6f9fb 32%);
  }

  .presentation-controls > button {
    width: 44px;
    height: 44px;
  }
}
/* Privacy consent */
.privacy-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(207, 228, 239, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 44px rgba(7, 16, 22, 0.16);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.privacy-consent[hidden] {
  display: none;
}

.privacy-consent-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.privacy-consent-text a {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-consent .btn {
  min-height: 38px;
  padding: 8px 12px;
  white-space: nowrap;
}

.privacy-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.privacy-settings-link:hover,
.privacy-settings-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-settings-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.28);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .privacy-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .privacy-consent .btn {
    width: 100%;
  }
}

/* Budget tool landing */
.budget-tool-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 90, 131, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.budget-tool-card:hover,
.budget-tool-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(31, 124, 175, 0.42);
  box-shadow: 0 30px 80px rgba(17, 90, 131, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  outline: none;
}

.budget-tool-media {
  min-height: 250px;
  display: block;
  background: #03060d;
}

.budget-tool-media img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  display: block;
  object-fit: cover;
}

.budget-tool-body {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 32px;
}

.budget-tool-body .status-tag {
  width: fit-content;
}

.budget-tool-body strong {
  color: var(--ink);
  font-size: 1.85rem;
  font-weight: 950;
  line-height: 1.02;
}

.budget-tool-body > span:not(.status-tag) {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
}

.budget-tool-body em {
  width: fit-content;
  color: var(--blue-dark);
  font-style: normal;
  font-weight: 950;
}

.budget-page {
  background: var(--paper);
}

.budget-hero-page {
  padding: 84px 0 56px;
  background: radial-gradient(circle at 86% 8%, rgba(31, 124, 175, 0.18), transparent 26rem), linear-gradient(180deg, #f3faff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.budget-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: center;
}

.budget-hero-copy h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  color: var(--ink);
  font-size: 4.4rem;
  font-weight: 950;
  line-height: 0.98;
}

.budget-hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 1.7;
}

.budget-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.budget-page-logo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 90, 131, 0.18);
  border-radius: var(--radius);
  background: #03060d;
  box-shadow: 0 28px 82px rgba(17, 90, 131, 0.18);
}

.budget-page-logo img {
  width: 100%;
  display: block;
}

.budget-details-section {
  background: #ffffff;
}

.budget-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.budget-detail-card {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(17, 90, 131, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.08);
}

.budget-detail-card span {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 950;
}

.budget-detail-card h2 {
  margin: 14px 0 10px;
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1.16;
}

.budget-detail-card p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .budget-tool-card,
  .budget-hero-layout,
  .budget-detail-grid {
    grid-template-columns: 1fr;
  }

  .budget-tool-media,
  .budget-tool-media img {
    min-height: 210px;
  }

  .budget-hero-copy h1 {
    font-size: 3rem;
  }
}
