/* Rey Labs — soft light petrol (own brand, not full dark) */
:root {
  --petrol: #0f766e;
  --petrol-deep: #0c5f59;
  --emerald: #059669;
  --anthracite: #2c3338;
  --text: #2c3338;
  --text-muted: #3f4a52;
  --surface: #f4f6f6;
  --surface-elevated: #ffffff;
  --mist: #e8ecec;
  --line: #dde3e3;
  --dark: #1a2224;
  --dark-soft: #243033;
  --text-on-dark: #eef2f2;
  --muted-on-dark: rgba(238, 242, 242, 0.88);
  --card: #ffffff;
  --glow: rgba(15, 118, 110, 0.18);

  --ink: var(--anthracite);
  --ink-muted: var(--text-muted);
  --accent: var(--petrol);
  --accent-deep: var(--petrol-deep);

  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Figtree", sans-serif;
  --font-mono: "Space Grotesk", sans-serif;

  --radius: 0.65rem;
  --header-h: 3.25rem;
  --content: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--anthracite);
  background:
    radial-gradient(ellipse 80% 50% at 90% -10%, rgba(15, 118, 110, 0.09), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(15, 118, 110, 0.05), transparent 45%),
    var(--surface);
  line-height: 1.6;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

body > *:not(#bg-canvas):not(.site-header):not(.nav-backdrop):not(#cookie-banner) {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 2px;
}

.btn:focus-visible,
.lang-btn:focus-visible,
.menu-toggle:focus-visible,
.linkish:focus-visible,
.nav__link:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 2px;
}

/* ——— Header (mobile first) ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 360;
  overflow: visible;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--header-h);
  height: var(--header-h);
  padding: 0 0.85rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--petrol);
  flex-shrink: 0;
  position: relative;
  z-index: 361;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  position: relative;
  z-index: 361;
}

.lang-switch {
  display: flex;
  gap: 0.15rem;
}

.lang-btn {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}

.lang-btn:hover {
  color: var(--petrol);
  border-color: var(--petrol);
}

.lang-btn--active {
  color: #fff;
  background: var(--petrol);
  border-color: transparent;
}

.menu-toggle {
  position: relative;
  z-index: 361;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-elevated);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--anthracite);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

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

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(22, 26, 29, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-backdrop.is-visible {
  display: block;
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 355;
  width: min(100%, 20rem);
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: calc(var(--header-h) + 0.75rem) 1rem 1.5rem;
  background: var(--surface-elevated);
  border-left: 1px solid var(--line);
  box-shadow: -12px 0 40px rgba(22, 26, 29, 0.12);
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}

.site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav__link {
  display: block;
  padding: 0.95rem 0.35rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--anthracite);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--petrol);
  padding-left: 0.65rem;
}

body.nav-open
 {
  overflow: hidden;
}

.btn--on-dark {
  color: var(--dark);
  background: #fff;
}

.btn--on-dark:hover {
  background: #e8f4f3;
  color: var(--petrol-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--primary {
  color: #fff;
  background: var(--petrol);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.22);
}

.btn--primary:hover {
  background: var(--petrol-deep);
}

.btn--ghost {
  color: var(--petrol);
  background: transparent;
  border: 1px solid var(--petrol);
}

.btn--ghost:hover {
  background: rgba(15, 118, 110, 0.08);
  border-color: var(--petrol);
  box-shadow: none;
}

.btn.btn--header {
  display: none;
  padding: 0.32rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  background: var(--petrol);
  border-radius: 999px;
  box-shadow: none;
}

.btn.btn--header:hover {
  background: var(--petrol-deep);
  transform: none;
}

@media (min-width: 1100px) {
  .site-header__bar {
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    gap: 0.75rem;
  }

  .nav-backdrop {
    display: none !important;
  }

  .site-nav {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: auto;
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    height: auto;
    min-width: 0;
    margin: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.55rem;
    padding: 0 0.35rem;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
  }

  .nav__link {
    padding: 0;
    border: none;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
  }

  .nav__link:hover,
  .nav__link[aria-current="page"] {
    padding-left: 0;
    color: var(--petrol);
  }

  .nav__link--secondary {
    display: none;
  }

  body.nav-open {
    overflow: auto;
  }

  .menu-toggle {
    display: none;
  }

  .btn.btn--header {
    display: inline-flex;
  }
}

/* ——— Hero (mobile first) ——— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 1rem 2.5rem;
  overflow: hidden;
  color: var(--anthracite);
}

@media (min-width: 768px) {
  .hero {
    min-height: min(100vh, 900px);
    padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 3.5rem) clamp(3rem, 8vh, 4.5rem);
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
  .hero__slide:not(.is-active) {
    display: none;
  }
  .hero__img {
    animation: none;
    transform: none;
  }
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.06);
  filter: brightness(0.92) saturate(0.9);
  animation: hero-drift 20s var(--ease) infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Solid reading panel on the text side */
    linear-gradient(
      105deg,
      rgba(244, 246, 246, 0.97) 0%,
      rgba(244, 246, 246, 0.94) 28%,
      rgba(244, 246, 246, 0.82) 46%,
      rgba(244, 246, 246, 0.42) 68%,
      rgba(244, 246, 246, 0.12) 100%
    ),
    /* Soft bottom fade so trust pills stay readable */
    linear-gradient(180deg, transparent 55%, rgba(244, 246, 246, 0.88) 100%);
}

/* Mobile: text is full-width — keep a stronger wash so contrast never fails */
@media (max-width: 767px) {
  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(244, 246, 246, 0.92) 0%,
        rgba(244, 246, 246, 0.88) 55%,
        rgba(244, 246, 246, 0.94) 100%
      ),
      linear-gradient(
        105deg,
        rgba(244, 246, 246, 0.96) 0%,
        rgba(244, 246, 246, 0.7) 55%,
        rgba(244, 246, 246, 0.35) 100%
      );
  }

  .hero__img {
    object-position: center;
    filter: brightness(0.88) saturate(0.85);
  }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 3;
  animation: orb-float 12s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 280px;
  height: 280px;
  right: 12%;
  top: 18%;
  background: rgba(15, 118, 110, 0.28);
}

.hero__orb--2 {
  width: 180px;
  height: 180px;
  left: 8%;
  bottom: 20%;
  background: rgba(22, 26, 29, 0.12);
  animation-delay: -4s;
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.5%, 1%);
  }
}

@keyframes orb-float {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(12px, -18px);
  }
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 40rem;
}

.hero__eyebrow {
  margin-bottom: 1rem;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 14vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.92;
  color: var(--petrol);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 22ch;
  color: var(--anthracite);
}

.hero__subtitle {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  max-width: 38ch;
  font-size: 1.05rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hero__cta .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .hero__cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero__cta .btn {
    width: auto;
  }
}

.hero__trust {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero__trust li {
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--petrol-deep);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.reveal-child {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.85s var(--ease) forwards;
}

.reveal-child:nth-child(1) {
  animation-delay: 0.1s;
}
.reveal-child:nth-child(2) {
  animation-delay: 0.22s;
}
.reveal-child:nth-child(3) {
  animation-delay: 0.34s;
}
.reveal-child:nth-child(4) {
  animation-delay: 0.46s;
}
.reveal-child:nth-child(5) {
  animation-delay: 0.58s;
}
.reveal-child:nth-child(6) {
  animation-delay: 0.7s;
}

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

.hero__scroll {
  display: none;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(15, 118, 110, 0.45);
  border-radius: 99px;
  z-index: 2;
}

@media (min-width: 900px) {
  .hero__scroll {
    display: block;
  }
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: var(--petrol);
  animation: scroll-dot 1.6s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* ——— Marquee removed ——— */

/* ——— Sections ——— */
.section {
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 5vw, 3.5rem);
  }
}

.section__inner {
  max-width: var(--content);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
}

.eyebrow::before {
  content: "// ";
  opacity: 0.85;
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--anthracite);
}

.section__lead {
  margin: 0 0 2.25rem;
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.section__header {
  margin-bottom: 2.5rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.section__header--center .eyebrow {
  display: inline-block;
}

.section__header--center .section__title {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

/* Projects — visual cards */
.section--projects {
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(15, 118, 110, 0.08), transparent 55%),
    var(--surface-elevated);
}

.project-grid {
  display: grid;
  gap: 1.25rem;
  perspective: 1200px;
}

@media (min-width: 800px) {
  .project-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }

  .project-card--featured {
    grid-row: 1 / span 2;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(44, 51, 56, 0.06);
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 22px 50px rgba(15, 118, 110, 0.14);
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e8ecec;
}

.project-card--featured .project-card__media {
  aspect-ratio: 4 / 5;
}

@media (max-width: 799px) {
  .project-card--featured .project-card__media {
    aspect-ratio: 16 / 11;
  }
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 0.8s var(--ease);
}

.project-card:hover .project-card__media img {
  transform: scale(1.08);
}

.project-card__media--soft {
  background: #e8ecec;
}

.project-card__media--build {
  background: #e8ecec;
}

.project-card__placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%),
    repeating-linear-gradient(
      -35deg,
      transparent,
      transparent 14px,
      rgba(255, 255, 255, 0.04) 14px,
      rgba(255, 255, 255, 0.04) 15px
    );
  animation: sheen 6s linear infinite;
}

@keyframes sheen {
  from { transform: translateX(-20%); }
  to { transform: translateX(20%); }
}

.project-card__status {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #052e2b;
  background: #5eead4;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-card__status--soft {
  color: #fff;
  background: rgba(15, 118, 110, 0.75);
  backdrop-filter: blur(8px);
}

.project-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.project-card__name {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--anthracite);
}

.project-card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-grid--vocal {
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .project-grid--vocal {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }

  .project-grid--vocal .project-card--featured {
    grid-row: auto;
  }

  .project-grid--vocal .project-card--featured .project-card__media {
    aspect-ratio: 16 / 10;
  }
}

.projects-demos-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol-deep);
  text-align: center;
}

/* Portfolio demos (inside #projects) */
.portfolio-disclaimer {
  max-width: 48rem;
  margin: 0 auto 2rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.9));
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.08);
}

.portfolio-disclaimer__label {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol-deep);
}

.portfolio-disclaimer p:last-child {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.portfolio-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface-elevated);
  box-shadow: 0 10px 32px rgba(44, 51, 56, 0.05);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 20px 44px rgba(15, 118, 110, 0.12);
}

.portfolio-card__accent {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
}

.portfolio-card__accent--teal { background: linear-gradient(90deg, #0f766e, #5eead4); }
.portfolio-card__accent--blue { background: linear-gradient(90deg, #1d4ed8, #7dd3fc); }
.portfolio-card__accent--copper { background: linear-gradient(90deg, #9a4c28, #d4a574); }
.portfolio-card__accent--lime { background: linear-gradient(90deg, #121212, #c8f135); }
.portfolio-card__accent--lagoon { background: linear-gradient(90deg, #1a8f86, #c9a35a); }
.portfolio-card__accent--cyan { background: linear-gradient(90deg, #0f6f86, #1f9bb8); }

.portfolio-card__tag {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
}

.portfolio-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--anthracite);
  line-height: 1.2;
}

.portfolio-card__desc {
  margin: 0;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.portfolio-card__cta {
  margin-top: 0.65rem;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

/* Tech marquee */
.tech-marquee {
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 118, 110, 0.04);
}

.tech-marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.tech-marquee__track span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(15, 118, 110, 0.55);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee__track,
  .project-card__placeholder {
    animation: none;
  }
}

/* Process — animated journey */
.section--process {
  background:
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(15, 118, 110, 0.07), transparent 55%),
    var(--surface);
  overflow: hidden;
}

.process-journey {
  position: relative;
  margin-top: 0.5rem;
}

.process-journey__rail {
  display: none;
}

.process-journey__steps {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 860px) {
  .process-journey__rail {
    display: block;
    position: relative;
    height: 4px;
    margin: 0 10% 2.75rem;
  }

  .process-journey__svg {
    display: block;
    width: 100%;
    height: 4px;
    overflow: visible;
  }

  .process-journey__line {
    stroke-width: 4;
    vector-effect: non-scaling-stroke;
  }

  .process-journey__line--bg {
    stroke: var(--line);
  }

  .process-journey__line--fill {
    stroke: var(--petrol);
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.4s var(--ease);
  }

  .process-journey.is-running .process-journey__line--fill {
    stroke-dashoffset: 0;
  }

  .process-journey__pulse {
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
    opacity: 0;
    transform: translateX(0);
  }

  .process-journey.is-running .process-journey__pulse {
    opacity: 1;
    left: calc(var(--process-step, 0) * 50%);
    transition: left 0.65s var(--ease);
    animation: process-pulse-ring 2s ease-out infinite;
  }

  @keyframes process-pulse-ring {
    0% {
      box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
    }
    70% {
      box-shadow: 0 0 0 12px rgba(5, 150, 105, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(5, 150, 105, 0);
    }
  }

  .process-journey__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }
}

/* Mobile: vertical rail */
@media (max-width: 859px) {
  .process-journey__steps {
    padding-left: 2.75rem;
  }

  .process-journey__steps::before {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 1.25rem;
    bottom: 1.25rem;
    width: 2px;
    background: var(--line);
  }

  .process-journey__steps::after {
    content: "";
    position: absolute;
    left: 0.95rem;
    top: 1.25rem;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--petrol), var(--emerald));
    transition: height 1.2s var(--ease);
  }

  .process-journey.is-running .process-journey__steps::after {
    height: calc(100% - 2.5rem);
  }
}

.process-card {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s;
}

.process-journey.is-running .process-card {
  opacity: 1;
  transform: translateY(0);
}

.process-journey.is-running .process-card:nth-child(1) {
  transition-delay: 0.15s;
}
.process-journey.is-running .process-card:nth-child(2) {
  transition-delay: 0.35s;
}
.process-journey.is-running .process-card:nth-child(3) {
  transition-delay: 0.55s;
}

.process-card__node {
  position: absolute;
  left: -2.75rem;
  top: 1.65rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--surface-elevated);
  border: 2px solid var(--line);
  transition:
    border-color 0.35s,
    background 0.35s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
  z-index: 1;
}

@media (min-width: 860px) {
  .process-card__node {
    position: relative;
    left: auto;
    top: auto;
    width: 0.85rem;
    height: 0.85rem;
    margin: 0 auto 1.15rem;
  }
}

.process-card__body {
  padding: 1.35rem 1.25rem;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 100%;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.process-card__body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--anthracite);
}

.process-card__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.process-card.is-active .process-card__node {
  border-color: var(--petrol);
  background: var(--petrol);
  transform: scale(1.35);
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.18);
}

.process-card.is-active .process-card__body {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 14px 36px rgba(15, 118, 110, 0.12);
  transform: translateY(-4px);
}

.process-card:hover .process-card__body {
  border-color: rgba(15, 118, 110, 0.3);
}

@media (max-width: 859px) {
  .process-card__node {
    left: -2.75rem;
  }
}

/* Services */
.section--services {
  background:
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(15, 118, 110, 0.08), transparent 50%),
    var(--mist);
}

.services-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.service {
  position: relative;
  padding: 1.4rem 1.3rem 1.35rem;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(44, 51, 56, 0.04);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.25s, box-shadow 0.4s;
}

.service::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 18px 44px rgba(15, 118, 110, 0.12);
}

.service:hover::after {
  opacity: 1;
}

.service__tag {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
}

.service__tag::before {
  content: "// ";
}

.service h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--anthracite);
}

.service p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36ch;
}

/* Pricing — Services & Tarifs */
.section--pricing {
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(15, 118, 110, 0.22), transparent 55%),
    linear-gradient(rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.04) 1px, transparent 1px),
    var(--dark-soft);
  background-size: auto, 48px 48px, 48px 48px, auto;
  color: var(--text-on-dark);
}

.section--pricing .eyebrow {
  color: #5eead4;
}

.section--pricing .section__title,
.section--pricing .pricing-compare__title,
.section--pricing .pricing-footer__title,
.section--pricing .pricing-consult__title,
.section--pricing .pricing-offer__title {
  color: #fff;
}

.section--pricing .section__lead,
.section--pricing .pricing-consult__text,
.section--pricing .pricing-offer__desc,
.section--pricing .pricing-offer__list li,
.section--pricing .pricing-footer__text,
.section--pricing .pricing-offer__from {
  color: var(--muted-on-dark);
}

.section--pricing .pricing-consult {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(94, 234, 212, 0.22);
}

.section--pricing .pricing-consult__icon {
  background: rgba(255, 255, 255, 0.06);
  color: #5eead4;
}

.section--pricing .pricing-offer {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.section--pricing .pricing-offer:hover {
  border-color: rgba(94, 234, 212, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.section--pricing .pricing-offer--featured {
  border-color: #5eead4;
  background: rgba(94, 234, 212, 0.08);
  box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.15);
}

.section--pricing .pricing-offer__price,
.section--pricing .pricing-offer__includes-label,
.section--pricing .pricing-offer__ideal-label,
.section--pricing .pricing-offer__support-label,
.section--pricing .pricing-offer__extra-label,
.section--pricing .pricing-compare__partial {
  color: #5eead4;
}

.section--pricing .pricing-offer__list li::before {
  color: #5eead4;
}

.section--pricing .pricing-offer__ideal,
.section--pricing .pricing-offer__support,
.section--pricing .pricing-offer__extra {
  color: rgba(238, 242, 242, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section--pricing .pricing-offer__extra {
  border-style: dashed;
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(94, 234, 212, 0.08);
}

.section--pricing .pricing-offer__head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.section--pricing .btn--ghost {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.45);
}

.section--pricing .btn--ghost:hover {
  background: rgba(94, 234, 212, 0.1);
}

.section--pricing .pricing-compare__scroll,
.section--pricing .pricing-footer {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.section--pricing .pricing-compare__table thead th {
  background: rgba(94, 234, 212, 0.08);
  color: #fff;
}

.section--pricing .pricing-compare__table tbody th {
  background: transparent;
  color: var(--muted-on-dark);
}

.section--pricing .pricing-compare__table th,
.section--pricing .pricing-compare__table td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.section--pricing .pricing-compare__yes {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
}

.section__inner--wide {
  max-width: 82rem;
}

.section__lead--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 44rem;
}

.pricing-consult {
  display: grid;
  gap: 1.25rem 1.5rem;
  align-items: center;
  margin-bottom: 2.75rem;
  padding: 1.5rem 1.35rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, rgba(5, 150, 105, 0.05) 100%);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 16px;
}

@media (min-width: 700px) {
  .pricing-consult {
    grid-template-columns: auto 1fr auto;
    padding: 1.65rem 2rem;
  }
}

.pricing-consult__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  color: var(--petrol);
  background: var(--surface-elevated);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.1);
}

.pricing-consult__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--anthracite);
}

.pricing-consult__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42rem;
}

.pricing-consult__cta {
  justify-self: start;
  white-space: nowrap;
}

@media (min-width: 700px) {
  .pricing-consult__cta {
    justify-self: end;
  }
}

.pricing-offers {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 640px) {
  .pricing-offers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pricing-offers {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .pricing-offers {
    grid-template-columns: repeat(5, 1fr);
  }
}

.pricing-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.65rem 1.4rem 1.5rem;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(44, 51, 56, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.25s;
}

.pricing-offer:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.28);
  box-shadow: 0 18px 44px rgba(15, 118, 110, 0.11);
}

.pricing-offer--featured {
  border-color: var(--petrol);
  box-shadow: 0 8px 32px rgba(15, 118, 110, 0.14);
}

.pricing-offer--featured:hover {
  box-shadow: 0 20px 48px rgba(15, 118, 110, 0.18);
}

.pricing-offer--hourly {
  background: linear-gradient(180deg, var(--surface-elevated) 0%, rgba(15, 118, 110, 0.04) 100%);
}

.pricing-offer__badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--petrol);
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-offer__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.pricing-offer--featured .pricing-offer__head {
  padding-top: 0.5rem;
}

.pricing-offer__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--anthracite);
}

.pricing-offer__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--petrol);
}

.pricing-offer__price--hourly {
  font-size: 1.55rem;
}

.pricing-offer__from {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pricing-offer__desc {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-offer__includes-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
}

.pricing-offer__list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex-grow: 1;
}

.pricing-offer__list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-offer__list li:last-child {
  margin-bottom: 0;
}

.pricing-offer__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
}

.pricing-offer__ideal,
.pricing-offer__support,
.pricing-offer__extra {
  margin: 0 0 1.15rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(15, 118, 110, 0.05);
  border-radius: 8px;
}

.pricing-offer__extra {
  margin-top: -0.5rem;
  background: rgba(15, 118, 110, 0.03);
  border: 1px dashed rgba(15, 118, 110, 0.2);
}

.pricing-offer__ideal-label,
.pricing-offer__support-label,
.pricing-offer__extra-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
}

.pricing-offer__cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
  justify-content: center;
}

.pricing-compare {
  margin-bottom: 2rem;
}

.pricing-compare__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--anthracite);
  text-align: center;
}

.pricing-compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-elevated);
  box-shadow: 0 2px 12px rgba(44, 51, 56, 0.04);
}

.pricing-compare__table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.pricing-compare__table th,
.pricing-compare__table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.pricing-compare__table thead th {
  padding-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--anthracite);
  background: rgba(15, 118, 110, 0.04);
}

.pricing-compare__table thead th:nth-child(3) {
  color: var(--petrol);
  background: rgba(15, 118, 110, 0.1);
}

.pricing-compare__table td:nth-child(3) {
  background: rgba(15, 118, 110, 0.02);
}

.pricing-compare__table tbody th {
  text-align: left;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-elevated);
  min-width: 11rem;
}

.pricing-compare__table tbody tr:last-child th,
.pricing-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-compare__table tbody tr:hover td,
.pricing-compare__table tbody tr:hover th[scope="row"] {
  background: rgba(15, 118, 110, 0.03);
}

.pricing-compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  background: rgba(5, 150, 105, 0.1);
  border-radius: 50%;
}

.pricing-compare__no {
  color: var(--line);
  font-weight: 500;
}

.pricing-compare__partial {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--petrol);
}

.pricing-footer {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--surface-elevated);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 16px;
}

@media (min-width: 700px) {
  .pricing-footer {
    padding: 2rem 2.5rem;
  }
}

.pricing-footer__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--anthracite);
}

.pricing-footer__text {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Audience — soft dark + grid */
.section--audience {
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(15, 118, 110, 0.2), transparent 55%),
    linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px),
    var(--dark);
  background-size: auto, 40px 40px, 40px 40px, auto;
  color: var(--text-on-dark);
}

.section--audience .eyebrow {
  color: #5eead4;
}

.section--audience .section__title {
  color: #fff;
}

.section--audience .section__lead {
  color: var(--muted-on-dark);
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(238, 242, 242, 0.12);
}

.audience-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(238, 242, 242, 0.12);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: padding-left 0.35s var(--ease), color 0.2s;
}

.audience-list li:hover {
  padding-left: 0.65rem;
  color: #5eead4;
}

/* Story — framed portrait */
.section--story {
  background:
    radial-gradient(ellipse 50% 45% at 90% 40%, rgba(15, 118, 110, 0.08), transparent 55%),
    var(--surface-elevated);
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .story-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr);
    gap: 3.5rem;
  }

  .story__portrait-wrap {
    margin-left: auto;
  }
}

.story__name {
  margin: -0.25rem 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--petrol);
}

.story__copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.story__portrait-wrap {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 14px;
}

.story__portrait-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  animation: pulse-ring 4s ease-in-out infinite;
  pointer-events: none;
}

.story__portrait-frame {
  position: absolute;
  inset: 24px;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.12);
  pointer-events: none;
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.22);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 12px rgba(15, 118, 110, 0);
    opacity: 0.85;
  }
}

.story__portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background:
    radial-gradient(circle at 35% 30%, rgba(15, 118, 110, 0.22), transparent 55%),
    var(--mist);
  box-shadow:
    0 24px 50px rgba(15, 118, 110, 0.18),
    0 0 0 1px rgba(15, 118, 110, 0.2);
  transform: scale(1.03);
  transition: transform 0.9s var(--ease);
}

.story__portrait-wrap:hover .story__portrait,
.is-visible .story__portrait-wrap.is-shown .story__portrait {
  transform: scale(1);
}

/* Dark CTA band */
.band--dark {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(15, 118, 110, 0.28), transparent 55%),
    var(--dark-soft);
  color: var(--text-on-dark);
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 5vw, 3.5rem);
}

.band__inner {
  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.band__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 18ch;
  color: #fff;
}

.band__lead {
  margin: 0 0 0.75rem;
  color: var(--muted-on-dark);
  max-width: 36ch;
}

/* Contact */
.section--contact {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(15, 118, 110, 0.06), transparent 55%),
    var(--surface);
}

.section--contact .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 auto 2.25rem;
  justify-content: center;
}

.contact-actions .btn--ghost {
  background: transparent;
}

.section--contact .contact-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 38rem;
  margin: 0 auto;
}

.section--contact .contact-base {
  text-align: center;
}

/* News */
.section--news {
  background:
    radial-gradient(ellipse 60% 45% at 0% 10%, rgba(15, 118, 110, 0.08), transparent 55%),
    var(--surface-elevated);
}

.news-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .news-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .news-card--featured {
    grid-row: span 2;
  }
}

@media (min-width: 1100px) {
  .news-grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

  .news-card--featured {
    grid-row: span 2;
  }
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(44, 51, 56, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.25s;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: 0 20px 48px rgba(15, 118, 110, 0.12);
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-card--featured .news-card__link {
  min-height: 100%;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2e2c, #0f766e 55%, #134e4a);
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.7s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.1);
}

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(15, 30, 28, 0.35) 100%);
  pointer-events: none;
}

.news-card--featured .news-card__media {
  aspect-ratio: 4 / 3;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.35rem;
  flex: 1;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
}

.news-card__cat::before {
  content: "// ";
}

.news-card__meta time {
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.news-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--anthracite);
}

.news-card--featured .news-card__title {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.news-card__excerpt {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.news-card__more {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--petrol);
  transition: color 0.2s, transform 0.25s var(--ease);
}

.news-card:hover .news-card__more {
  color: var(--petrol-deep);
  transform: translateX(4px);
}

.news-card__more::after {
  content: " →";
}

/* Article page */
.article-page {
  padding-top: calc(var(--header-h) + 2rem);
}

.article {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem) 4rem;
}

.article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--petrol);
  text-decoration: none;
}

.article__back:hover {
  color: var(--petrol-deep);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--petrol);
}

.article__meta time {
  color: var(--text-muted);
}

.article__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--anthracite);
}

.article__hero {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 2rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a2e2c, #0f766e);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.15);
}

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

.article__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 30, 28, 0.28) 100%);
  pointer-events: none;
}

.article__body p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.article__lead {
  margin: 0 0 1.75rem !important;
  font-size: 1.15rem !important;
  line-height: 1.7 !important;
  color: var(--anthracite) !important;
  font-weight: 500;
}

.article__body h2 {
  margin: 2.25rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--anthracite);
}

.article__body h2:first-of-type {
  margin-top: 0.5rem;
}

.article__refs {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
}

.article__refs a {
  color: var(--petrol-deep);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-weight: 500;
}

.article__refs a:hover {
  color: var(--petrol);
}

.article__cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.4rem;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(15, 118, 110, 0.2), transparent 55%),
    var(--dark-soft);
  color: var(--text-on-dark);
}

.article__cta p {
  margin: 0 0 1rem;
  color: var(--muted-on-dark);
}

.article__cta .btn {
  margin-top: 0.25rem;
}

/* FAQ — accordion Pixelium-like */
.section--faq {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(15, 118, 110, 0.07), transparent 55%),
    var(--mist);
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--anthracite);
  transition: color 0.2s;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::marker {
  content: "";
}

.faq-item__q:hover,
.faq-item[open] .faq-item__q {
  color: var(--petrol-deep);
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.35);
  background: var(--surface-elevated);
  transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--petrol);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.faq-item__icon::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-item__icon {
  background: var(--petrol);
  border-color: var(--petrol);
  transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
  background: #fff;
}

.faq-item[open] .faq-item__icon::after {
  opacity: 0;
}

.faq-item__a {
  overflow: hidden;
  padding: 0 0 1.4rem;
  max-width: 42rem;
}

.faq-item__a p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item:not([open]) .faq-item__a {
  display: none;
}

.contact-link {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease);
}

.contact-link:hover {
  padding-left: 0.5rem;
}

.contact-link__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrol);
}

.contact-link__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--anthracite);
  word-break: break-word;
}

.contact-link:hover .contact-link__value {
  color: var(--petrol);
}

.contact-base {
  margin: 1.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 1.75rem clamp(1.25rem, 5vw, 3.5rem);
  text-align: center;
}

.site-footer--dark {
  background: var(--dark);
  color: var(--muted-on-dark);
  border-top: 1px solid rgba(15, 118, 110, 0.25);
}

.site-footer__brand {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #fff;
}

.site-footer__place {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #5eead4;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer__links {
  margin-top: 0.75rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
}

.site-footer__links a,
.site-footer__links .linkish {
  color: rgba(238, 242, 242, 0.92);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  font-size: 0.85rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.site-footer__links a:hover,
.site-footer__links .linkish:hover {
  color: #5eead4;
}

/* Contact form */
.contact-form {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  text-align: left;
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--anthracite);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--anthracite);
  background: var(--surface-elevated);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.55);
  border-color: var(--petrol);
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.contact-form__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form__note a {
  color: var(--petrol-deep);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-form .btn {
  justify-self: start;
}

.contact-success {
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(5, 150, 105, 0.35);
  border-radius: var(--radius);
  background: rgba(5, 150, 105, 0.1);
  color: #065f46;
}

.contact-success p {
  margin: 0;
  font-weight: 600;
  line-height: 1.45;
}

/* Cookie consent modal */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  margin: 0;
  max-width: none;
  background: rgba(22, 26, 29, 0.6);
  pointer-events: auto;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  width: min(100%, 26rem);
  padding: 1.35rem 1.35rem 1.25rem;
  background: var(--surface-elevated);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(22, 26, 29, 0.28);
}

.cookie-banner__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--anthracite);
}

.cookie-banner__text {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cookie-banner__text a {
  color: var(--petrol-deep);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-weight: 600;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner__actions .btn {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
}

.cookie-banner__reject {
  background: transparent;
  border: 1px solid var(--anthracite);
  color: var(--anthracite);
}

/* Legal / privacy */
.legal-page {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3rem;
}

.legal {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3.5rem);
}

.legal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  color: var(--anthracite);
}

.legal__updated {
  margin: 0 0 1.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.legal h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--anthracite);
}

.legal p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2rem;
}

/* 404 */
.page-404 {
  min-height: 100vh;
}

.error-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.75rem;
  padding: 4rem clamp(1.25rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.error-page__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--anthracite);
}

.error-page__lead {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  max-width: 36ch;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

.media-reveal {
  clip-path: inset(8% 8% 8% 8% round 12px);
  transition: clip-path 1.1s var(--ease);
}

.is-visible .media-reveal,
.media-reveal.is-shown {
  clip-path: inset(0 0 0 0 round 0);
}

.is-visible .project-card,
.is-visible .portfolio-card,
.is-visible .service,
.is-visible .pricing-offer,
.is-visible .audience-list li,
.is-visible .faq-item,
.is-visible .news-card,
.is-visible .section__header--center > * {
  animation: rise 0.75s var(--ease) both;
}

.is-visible .section__header--center > *:nth-child(1) {
  animation-delay: 0.05s;
}
.is-visible .section__header--center > *:nth-child(2) {
  animation-delay: 0.12s;
}
.is-visible .section__header--center > *:nth-child(3) {
  animation-delay: 0.2s;
}

.is-visible .project-card:nth-child(1),
.is-visible .portfolio-card:nth-child(1),
.is-visible .service:nth-child(1),
.is-visible .pricing-offer:nth-child(1),
.is-visible .audience-list li:nth-child(1) {
  animation-delay: 0.08s;
}
.is-visible .project-card:nth-child(2),
.is-visible .portfolio-card:nth-child(2),
.is-visible .service:nth-child(2),
.is-visible .pricing-offer:nth-child(2),
.is-visible .audience-list li:nth-child(2) {
  animation-delay: 0.16s;
}
.is-visible .project-card:nth-child(3),
.is-visible .portfolio-card:nth-child(3),
.is-visible .service:nth-child(3),
.is-visible .pricing-offer:nth-child(3),
.is-visible .audience-list li:nth-child(3) {
  animation-delay: 0.24s;
}
.is-visible .portfolio-card:nth-child(4),
.is-visible .service:nth-child(4),
.is-visible .pricing-offer:nth-child(4),
.is-visible .audience-list li:nth-child(4) {
  animation-delay: 0.32s;
}
.is-visible .portfolio-card:nth-child(5),
.is-visible .pricing-offer:nth-child(5) {
  animation-delay: 0.4s;
}
.is-visible .portfolio-card:nth-child(6) {
  animation-delay: 0.48s;
}

.is-visible .faq-item:nth-child(1) { animation-delay: 0.06s; }
.is-visible .faq-item:nth-child(2) { animation-delay: 0.1s; }
.is-visible .faq-item:nth-child(3) { animation-delay: 0.14s; }
.is-visible .faq-item:nth-child(4) { animation-delay: 0.18s; }
.is-visible .faq-item:nth-child(5) { animation-delay: 0.22s; }
.is-visible .faq-item:nth-child(6) { animation-delay: 0.26s; }
.is-visible .faq-item:nth-child(7) { animation-delay: 0.3s; }
.is-visible .faq-item:nth-child(8) { animation-delay: 0.34s; }

.is-visible .news-card:nth-child(1) { animation-delay: 0.06s; }
.is-visible .news-card:nth-child(2) { animation-delay: 0.1s; }
.is-visible .news-card:nth-child(3) { animation-delay: 0.14s; }
.is-visible .news-card:nth-child(4) { animation-delay: 0.18s; }
.is-visible .news-card:nth-child(5) { animation-delay: 0.22s; }
.is-visible .news-card:nth-child(6) { animation-delay: 0.26s; }
.is-visible .news-card:nth-child(7) { animation-delay: 0.3s; }
.is-visible .news-card:nth-child(8) { animation-delay: 0.34s; }
.is-visible .news-card:nth-child(9) { animation-delay: 0.38s; }
.is-visible .news-card:nth-child(10) { animation-delay: 0.42s; }

.tech-marquee:hover .tech-marquee__track {
  animation-play-state: paused;
}

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

  .hero__img,
  .hero__orb,
  .hero__scroll span,
  .story__portrait-wrap::before,
  .project-card__placeholder,
  .tech-marquee__track,
  .reveal-child {
    animation: none !important;
  }

  .reveal,
  .reveal-child,
  .media-reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .is-visible .project-card,
  .is-visible .portfolio-card,
  .is-visible .service,
  .is-visible .pricing-offer,
  .is-visible .audience-list li,
  .is-visible .faq-item,
  .is-visible .news-card,
  .is-visible .section__header--center > * {
    animation: none;
  }

  .site-nav,
  .nav-backdrop {
    transition: none;
  }

  .process-journey.is-running .process-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .process-journey__pulse,
  .process-journey.is-running .process-journey__steps::after {
    animation: none !important;
    transition: none;
  }

  .btn:hover,
  .service:hover,
  .pricing-offer:hover,
  .contact-link:hover,
  .audience-list li:hover,
  .process-card.is-active .process-card__body {
    transform: none;
    padding-left: 0;
  }
}
