/* Ada-Eda — design tokens & layout */
:root {
  --abyss: #0a0f1e;
  --alloy: #f8fafc;
  --steel: #cbd5e1;
  --steel-dim: #94a3b8;
  --cerulean: #0ea5e9;
  --ember: #f97316;
  --hull: #101830;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --white: #ffffff;

  --font-heading: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --container: 80rem;
  --header-h: 5rem;
  --clip-plate: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  --clip-plate-sm: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  --clip-tag: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--alloy);
  background: var(--abyss);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .scroll-hint {
    animation: none !important;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.15rem;
}

@media (min-width: 480px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2.5rem;
  }
}

.text-cerulean {
  color: var(--cerulean);
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px #cbd5e159;
}

.clip-plate {
  clip-path: var(--clip-plate);
}

.clip-plate-sm {
  clip-path: var(--clip-plate-sm);
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cerulean);
}

.eyebrow__line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--cerulean);
  flex-shrink: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  clip-path: var(--clip-plate-sm);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.2s;
}

.btn:active {
  transform: scale(0.95);
}

.btn--ember {
  background: var(--ember);
  color: var(--white);
}

.btn--ember:hover {
  background: var(--cerulean);
}

.btn--ghost {
  background: transparent;
  border-color: #cbd5e166;
  color: var(--steel);
}

.btn--ghost:hover {
  border-color: var(--cerulean);
  color: var(--cerulean);
}

.btn--sm {
  padding: 0.75rem 1.5rem;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
}

@supports (padding: max(0px)) {
  .header {
    padding-top: env(safe-area-inset-top);
  }
}

.header.is-scrolled,
.header.header--solid {
  background: #0a0f1ee6;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Inner pages */
.page .page-main {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

.page--light {
  background: #ffffff;
}

.page:not(.page--light) {
  background: var(--abyss);
}

@media (min-width: 768px) {
  .page .services,
  .page .about,
  .page .gallery,
  .page .contact {
    min-height: calc(100vh - var(--header-h) - 12rem);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--cerulean);
  transition: width 0.15s linear;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo__img {
    height: 48px;
    max-width: 260px;
  }
}

.nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav a:not(.btn) {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.3s;
}

.nav a:not(.btn):hover,
.nav a:not(.btn).is-active {
  color: var(--cerulean);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--alloy);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
    background: #0a0f1ef7;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: max-height 0.45s, padding 0.45s;
    z-index: 60;
  }

  .nav.is-open {
    max-height: min(80vh, 28rem);
    padding: 1.25rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }

  .nav a:not(.btn) {
    padding: 0.9rem 0;
    text-align: left;
    font-size: 0.875rem;
    min-height: 44px;
  }

  .nav__cta {
    margin-top: 0.75rem;
    text-align: center;
    width: 100%;
  }

  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .menu-toggle.is-open .menu-toggle__open {
    display: none;
  }

  .menu-toggle.is-open .menu-toggle__close {
    display: block !important;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
  background: var(--abyss);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__overlay--y {
  background: linear-gradient(to bottom, #0a0f1ecc, #0a0f1e66, #0a0f1e);
}

.hero__overlay--x {
  background: linear-gradient(to right, #0a0f1eb3, transparent);
}

.hero__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(6.5rem + env(safe-area-inset-top));
  padding-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
}

.hero__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero__top {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
}

.hero__years {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 14vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--alloy);
}

.hero__lead {
  display: block;
  max-width: 36rem;
  margin-top: 0;
  font-size: 0.9375rem;
  line-height: 1.625;
  text-align: left;
  color: var(--steel);
}

@media (min-width: 768px) {
  .hero__lead {
    max-width: 240px;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    text-align: right;
  }
}

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .hero__bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.5rem;
    margin-top: 5rem;
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--alloy);
}

@media (min-width: 768px) {
  .hero__title {
    text-align: right;
    align-self: flex-end;
  }
}

.hero__cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hero__cta-block {
    align-items: flex-end;
  }
}

.hero__desc {
  max-width: 28rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.625;
  color: var(--steel);
}

@media (min-width: 768px) {
  .hero__desc {
    text-align: right;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.hero__actions .btn {
  flex: 1 1 auto;
  min-width: min(100%, 10.5rem);
  text-align: center;
}

@media (max-width: 420px) {
  .hero__actions .btn {
    width: 100%;
  }
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  color: #cbd5e1b3;
  transition: color 0.3s;
  animation: bounce 1.5s infinite;
}

.scroll-hint:hover {
  color: var(--cerulean);
}

.scroll-hint svg {
  width: 1.5rem;
  height: 1.5rem;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateX(-50%) translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* ===== Section heads ===== */
.section-head {
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .section-head {
    margin-bottom: 4rem;
  }
}

@media (min-width: 1024px) {
  .section-head {
    margin-bottom: 5rem;
  }
}

.section-head__row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .section-head__row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--alloy);
}

.section-title--dark {
  color: var(--abyss);
}

.section-desc {
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--slate-600);
}

.section-desc--muted {
  color: var(--steel);
}

/* ===== Services ===== */
.services {
  position: relative;
  padding: 4rem 0;
  background: #ffffff;
  color: var(--abyss);
}

@media (min-width: 768px) {
  .services {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .services {
    padding: 8rem 0;
  }
}

.services .section-title--dark {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.services .section-head__row {
  align-items: center;
}

@media (min-width: 1024px) {
  .services .section-head__row {
    align-items: flex-end;
  }
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--hull);
  border: 1px solid rgba(203, 213, 225, 0.22);
  clip-path: var(--clip-plate);
  transition: transform 0.2s;
}

.service-card:active {
  transform: scale(0.98);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.service-card:hover .service-card__media img {
  transform: scale(1.05);
}

.service-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 0.4rem 0.95rem;
  background: var(--ember);
  clip-path: var(--clip-tag);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 1.35rem 1.5rem;
}

@media (min-width: 1024px) {
  .service-card__body {
    padding: 1.6rem 1.6rem 1.75rem;
  }
}

.service-card__body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--alloy);
}

.service-card__body ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-card__body li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 13px;
  line-height: 1.4;
  color: var(--steel);
}

.service-card__body li svg {
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  color: var(--cerulean);
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.service-card__foot > a:first-child {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.3s;
}

.service-card:hover .service-card__foot > a:first-child {
  color: var(--cerulean);
}

.service-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(14, 165, 233, 0.55);
  color: var(--cerulean);
  clip-path: var(--clip-plate-sm);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.service-card__arrow svg {
  width: 1rem;
  height: 1rem;
}

.service-card:hover .service-card__arrow {
  background: var(--cerulean);
  border-color: var(--cerulean);
  color: var(--abyss);
}

/* ===== About ===== */
.about {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: var(--abyss);
}

@media (min-width: 768px) {
  .about {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .about {
    padding: 8rem 0;
  }
}

.about__grid-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.45) 1px, transparent 1px);
  background-size: 56px 56px;
}

.about__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about__inner {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4.5rem;
  }
}

.about__visual {
  position: relative;
  padding: 1rem 0 0 1rem;
}

.about__frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(14, 165, 233, 0.35);
  pointer-events: none;
}

.about__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about__content .section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  max-width: 18ch;
}

.about__text {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--steel);
}

@media (min-width: 1024px) {
  .about__text {
    font-size: 1.0625rem;
  }
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}

@media (min-width: 1024px) {
  .about__stats {
    gap: 1.5rem;
  }
}

.stat {
  border-left: 2px solid rgba(14, 165, 233, 0.55);
  padding-left: 1rem;
}

.stat__value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cerulean);
}

.stat__label {
  display: block;
  margin-top: 0.45rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
  line-height: 1.35;
}

@media (min-width: 1024px) {
  .stat__label {
    font-size: 11px;
  }
}

/* ===== Gallery ===== */
.gallery {
  position: relative;
  padding: 4rem 0;
  background: var(--abyss);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .gallery {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .gallery {
    padding: 8rem 0;
  }
}

.gallery .section-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery__grid--works {
  grid-auto-rows: 240px;
}

@media (min-width: 640px) {
  .gallery__grid--works {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .gallery__grid--works {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 1.1rem;
  }

  .gallery__item--lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item--wide {
    grid-column: span 2;
  }

  .gallery__item--tall {
    grid-row: span 2;
  }
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  min-height: 240px;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--hull);
  cursor: pointer;
  clip-path: var(--clip-plate-sm);
}

@media (min-width: 640px) {
  .gallery__item {
    min-height: 0;
    height: 100%;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.78), transparent 55%);
  opacity: 0.55;
  transition: opacity 0.35s;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__cap {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--alloy);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
}

.gallery__item:hover .gallery__cap {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .gallery__item::after {
    opacity: 0.85;
  }

  .gallery__cap {
    opacity: 1;
    transform: none;
  }
}

/* ===== Contact ===== */
.contact {
  padding: 4rem 0;
  background: var(--alloy);
  color: var(--abyss);
}

@media (min-width: 768px) {
  .contact {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .contact {
    padding: 8rem 0;
  }
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.contact .section-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.15;
}

.contact__lead {
  margin-top: 1.5rem;
  max-width: 26rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate-600);
}

.contact__list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: var(--abyss);
  color: var(--cerulean);
  clip-path: var(--clip-plate-sm);
  transition: background 0.3s, color 0.3s;
}

.contact__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

a.contact__link:hover .contact__icon {
  background: var(--cerulean);
  color: var(--white);
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.contact__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.contact__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--abyss);
}

.contact__sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--slate-600);
}

.contact__form-wrap {
  filter: drop-shadow(0 24px 50px rgba(10, 15, 30, 0.18));
}

.contact__form {
  padding: 1.35rem;
  background: var(--white);
  border: 1px solid #e2e8f0;
  clip-path: var(--clip-plate);
}

@media (min-width: 640px) {
  .contact__form {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .contact__form {
    padding: 2.5rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.5rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  margin-top: 1.75rem;
}

.field span {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0 0.85rem;
  border: 0;
  border-bottom: 1px solid #cbd5e1;
  background: transparent;
  font-size: 1rem;
  color: var(--abyss);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  border-radius: 0;
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  padding-right: 1.5rem;
}

.field textarea {
  resize: none;
  min-height: 4.5rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #94a3b8;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--cerulean);
  border-bottom-width: 2px;
  padding-bottom: calc(0.85rem - 1px);
}

.contact__form .btn {
  margin-top: 1.75rem;
  padding: 1.05rem 2rem;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--slate-600);
  min-height: 1.25rem;
}

.form-status.is-error {
  color: #dc2626;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid #0ea5e94d;
  background: #0ea5e90d;
  clip-path: var(--clip-plate);
}

.form-success[hidden] {
  display: none;
}

.form-success svg {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--cerulean);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--abyss);
}

.form-success p {
  margin-top: 0.75rem;
  max-width: 24rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--slate-600);
}

/* ===== Footer ===== */
.footer {
  background: var(--abyss);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3.5rem 0;
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--steel);
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.footer__contact a:hover {
  color: var(--cerulean);
}

.footer__contact svg {
  width: 1rem;
  height: 1rem;
  color: var(--cerulean);
}

@media (max-width: 639px) {
  .footer__mail {
    display: none;
  }
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: var(--steel-dim);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__tagline {
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s, transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
  z-index: 2;
  border: 0;
  background: rgba(10, 15, 30, 0.55);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(10, 15, 30, 0.55);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  clip-path: var(--clip-plate-sm);
}

@media (min-width: 768px) {
  .lightbox {
    padding: 1.5rem;
  }

  .lightbox img {
    max-height: 90vh;
  }

  .lightbox__nav {
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
  }
}

.lightbox__nav:hover {
  background: var(--cerulean);
  border-color: var(--cerulean);
  color: var(--abyss);
}

.lightbox__nav--prev {
  left: max(0.5rem, env(safe-area-inset-left));
}

.lightbox__nav--next {
  right: max(0.5rem, env(safe-area-inset-right));
}

/* ===== Service detail ===== */
.detail-hero {
  position: relative;
  min-height: 52vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .detail-hero {
    min-height: 60vh;
    min-height: 420px;
  }
}

.detail-hero__media {
  position: absolute;
  inset: 0;
}

.detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0f1e, #0a0f1e66, #0a0f1e99);
}

.detail-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 3rem;
  padding-top: 6rem;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.3s;
}

.detail-back svg {
  width: 1rem;
  height: 1rem;
}

.detail-back:hover {
  color: var(--cerulean);
}

.detail-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--alloy);
  max-width: 56rem;
}

.detail-hero__tagline {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--cerulean);
}

.detail-body {
  padding: 4rem 0 5rem;
  background: var(--abyss);
}

@media (min-width: 1024px) {
  .detail-body {
    padding: 5rem 0 6rem;
  }
}

.detail-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .detail-body__grid {
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
  }
}

.detail-aside {
  display: none;
}

@media (min-width: 1024px) {
  .detail-aside {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

.detail-aside__visual {
  position: relative;
  padding: 1rem 0 0 1rem;
}

.detail-aside__frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
  pointer-events: none;
}

.detail-aside__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  clip-path: var(--clip-plate);
}

.detail-aside__cta {
  margin-top: 2rem;
  gap: 0.5rem;
}

.detail-aside__cta svg,
.detail-mobile-cta svg {
  width: 1rem;
  height: 1rem;
}

.detail-content__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--alloy);
  margin-bottom: 1.25rem;
}

.detail-content > div + div {
  margin-top: 3rem;
}

.detail-content__text {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  color: var(--steel);
}

.detail-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .detail-photos {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-photos__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--hull);
  cursor: pointer;
  clip-path: var(--clip-plate-sm);
}

.detail-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.detail-photos__item:hover img {
  transform: scale(1.05);
}

.detail-areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .detail-areas {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-areas__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #10183099;
  border: 1px solid rgba(255, 255, 255, 0.1);
  clip-path: var(--clip-plate-sm);
  font-size: 0.875rem;
  color: var(--steel);
}

.detail-areas__item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--cerulean);
}

.detail-standards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-standards li {
  padding-left: 1rem;
  border-left: 2px solid rgba(14, 165, 233, 0.6);
  font-size: 1rem;
  line-height: 1.625;
  color: var(--steel);
}

.detail-mobile-cta {
  display: flex;
  margin-top: 3rem;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .detail-mobile-cta {
    display: none;
  }
}

.detail-related {
  padding: 4rem 0;
  background: #10183066;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .detail-related {
    padding: 5rem 0;
  }
}

.detail-related__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--alloy);
  margin-bottom: 2rem;
}

.detail-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .detail-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.detail-related__card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--abyss);
  clip-path: var(--clip-plate);
  transition: transform 0.2s;
}

.detail-related__card:active {
  transform: scale(0.98);
}

.detail-related__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.detail-related__card:hover img {
  transform: scale(1.05);
}

.detail-related__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0f1e, transparent);
}

.detail-related__card h3 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--alloy);
}

.detail-cta {
  padding: 5rem 0;
  background: var(--alloy);
  color: var(--abyss);
}

.detail-cta__inner {
  text-align: center;
}

.detail-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.detail-cta p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--slate-600);
  line-height: 1.625;
}

.detail-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn--dark {
  background: var(--abyss);
  color: var(--alloy);
}

.btn--dark:hover {
  background: var(--cerulean);
  color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  border-color: rgba(10, 15, 30, 0.2);
  color: var(--abyss);
}

.btn--outline-dark:hover {
  border-color: var(--cerulean);
  color: var(--cerulean);
}

/* SEO blocks — subtle, on-brand */
.seo-intro {
  padding: 2.25rem 0 1.25rem;
  background: transparent;
}

@media (min-width: 768px) {
  .seo-intro {
    padding: 3rem 0 1.5rem;
  }
}

.seo-intro--page {
  padding-top: 1.5rem;
}

.seo-intro__inner {
  max-width: 52rem;
}

.seo-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--alloy);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.seo-intro__text {
  margin: 0;
  color: var(--steel);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* Light pages (diensten / contact) */
.page--light .seo-intro__title {
  color: var(--abyss);
}

.page--light .seo-intro__text {
  color: var(--slate-600);
}

.seo-intro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.1rem 0 0;
}

.seo-intro__links a {
  color: var(--cerulean);
  font-weight: 600;
  text-decoration: none;
}

.seo-intro__links a:hover {
  text-decoration: underline;
}

.seo-faq {
  padding: 3.5rem 0;
  background: var(--abyss);
  color: var(--alloy);
}

@media (min-width: 768px) {
  .seo-faq {
    padding: 4.5rem 0;
  }
}

.seo-faq .section-title {
  color: var(--alloy);
}

.seo-faq .section-desc,
.seo-faq .section-desc--muted {
  color: var(--steel);
}

.seo-faq__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 52rem;
}

.seo-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 1.1rem;
}

.seo-faq__item summary {
  cursor: pointer;
  font-weight: 650;
  font-family: var(--font-display, "Sora", sans-serif);
  list-style: none;
}

.seo-faq__item summary::-webkit-details-marker {
  display: none;
}

.seo-faq__item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--steel);
  line-height: 1.65;
}

.seo-breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.85rem;
}

.seo-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--steel);
}

.seo-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.seo-breadcrumbs a {
  color: var(--cerulean);
  text-decoration: none;
}

.detail-content__seo {
  margin-top: 1rem;
  opacity: 0.92;
}

.footer__seo {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--steel);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer__nap {
  margin: 0.85rem 0;
  font-style: normal;
}

.footer__nap a {
  color: var(--cerulean);
  text-decoration: none;
}

.footer__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.85rem;
}

.footer__services a {
  color: var(--alloy);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer__services a:hover {
  color: var(--cerulean);
  opacity: 1;
}

.page--light .seo-intro__title {
  color: var(--abyss);
}
