:root {
  color-scheme: light;
  --brand-navy: #0b2748;
  --brand-navy-mid: #143a5c;
  --brand-navy-deep: #061628;
  --brand-charcoal: #121417;
  --brand-gray: #5c6773;
  --brand-mist: #e6eaee;
  --brand-paper: #f7f9fb;
  --brand-green: #1b4d3e;
  --brand-white: #ffffff;
  --font-sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Sora", "IBM Plex Sans", sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--brand-charcoal);
  background:
    linear-gradient(180deg, #dfe6ec 0%, var(--brand-mist) 28%, var(--brand-paper) 70%, var(--brand-mist) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(11, 39, 72, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 39, 72, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

a {
  color: var(--brand-navy);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(11, 39, 72, 0.08);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  min-height: 64px;
}

.site-header__brand {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
}

.site-header__nav {
  display: none;
  gap: 0.75rem;
  align-items: center;
}

.site-header__nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--brand-navy);
  padding: 0.4rem 0.55rem;
}

.site-header__lang {
  color: var(--brand-gray) !important;
}

.site-header__menu-btn {
  display: inline-flex;
  border: 0;
  background: transparent;
  color: var(--brand-navy);
  font-size: 1.4rem;
  cursor: pointer;
}

.site-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}

.site-drawer.is-open {
  display: block;
}

.site-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 22, 40, 0.35);
}

.site-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 90vw);
  height: 100%;
  background: var(--brand-white);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-drawer__panel a,
.site-drawer__panel button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--brand-navy);
  text-decoration: none;
  cursor: pointer;
}

@media (min-width: 900px) {
  .site-header__nav {
    display: flex;
  }
  .site-header__menu-btn {
    display: none;
  }
}

/* —— Hero —— */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(27, 77, 62, 0.08), transparent 55%),
    linear-gradient(165deg, var(--brand-navy-deep) 0%, var(--brand-navy) 48%, #1a3d5c 100%);
  color: var(--brand-white);
}

.hero-section__sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 65%
  );
  background-size: 200% 200%;
  animation: hero-sheen 16s ease-in-out infinite;
}

.hero-section__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-brand {
  margin-bottom: 1.5rem;
  max-width: 380px;
}

.hero-brand__logo {
  display: block;
  height: clamp(48px, 8vw, 64px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.hero-headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.25;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-gray);
  margin: 0;
}

.eyebrow--green {
  color: var(--brand-green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
}

.btn--primary {
  background: var(--brand-green);
  color: var(--brand-white);
  box-shadow: 0 4px 14px rgba(27, 77, 62, 0.25);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--brand-white);
}

.btn--ghost:hover {
  border-color: var(--brand-white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost-navy {
  border-color: rgba(11, 39, 72, 0.35);
  color: var(--brand-navy);
  background: transparent;
}

.btn--ghost-navy:hover {
  border-color: var(--brand-navy);
  background: rgba(11, 39, 72, 0.04);
}

.btn--light {
  background: var(--brand-white);
  color: var(--brand-navy);
}

.btn--light:hover {
  background: #f0f3f6;
}

/* —— Speed banner —— */
.speed-banner {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 0;
  background:
    radial-gradient(ellipse 50% 120% at 0% 50%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(105deg, var(--brand-green) 0%, #246b54 55%, #184636 100%);
  color: var(--brand-white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  animation: section-enter 0.6s ease-out both;
}

.speed-banner__pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 76%
  );
  background-size: 220% 100%;
  animation: speed-banner-sheen 9s ease-in-out infinite;
  pointer-events: none;
}

.speed-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.speed-banner__copy {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.speed-banner__days {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 4.75rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 0 rgba(6, 22, 40, 0.18);
}

.speed-banner h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  color: inherit;
}

.speed-banner p {
  margin: 0;
  opacity: 0.88;
  max-width: 420px;
  line-height: 1.5;
}

/* —— Sections —— */
.section {
  padding: 3.5rem 0;
}

.page-section {
  position: relative;
  border-top: 1px solid rgba(11, 39, 72, 0.08);
  animation: section-enter 0.6s ease-out both;
}

.page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(6rem, 32%);
  height: 2px;
  background: var(--brand-navy);
  border-radius: 999px;
  opacity: 0.55;
}

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

.page-section--mist {
  background: var(--brand-mist);
}

.page-section--tint {
  background: linear-gradient(
    180deg,
    rgba(11, 39, 72, 0.04) 0%,
    rgba(27, 77, 62, 0.05) 100%
  );
}

.section h1,
.section h2 {
  font-family: var(--font-display);
  color: var(--brand-navy);
  margin: 0 0 0.5rem;
}

.section h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.section-subheading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brand-navy);
  margin: 2.5rem 0 1rem;
}

.section-support {
  color: var(--brand-gray);
  max-width: 42rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.section-cta {
  margin-top: 1.5rem;
}

/* —— Offer ladder —— */
.offer-ladder {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offer-ladder__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.offer-ladder__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-navy);
  min-width: 2.5rem;
}

.offer-ladder__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--brand-navy);
}

.offer-ladder__item p {
  margin: 0;
  color: var(--brand-gray);
  max-width: 640px;
  line-height: 1.6;
}

/* —— About —— */
.about-me {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 720px;
}

@media (min-width: 600px) {
  .about-me {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

.about-me__photo {
  flex-shrink: 0;
  width: 7rem;
  height: 7rem;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid rgba(11, 39, 72, 0.12);
  background: var(--brand-mist);
}

.about-me__name {
  font-weight: 600;
  color: var(--brand-green);
  margin: 0 0 0.75rem;
}

.about-me p {
  color: var(--brand-gray);
  line-height: 1.7;
  margin: 0 0 0.85rem;
}

/* —— Portfolio cards —— */
.portfolio-teaser-card {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  border: 1px solid rgba(11, 39, 72, 0.1);
  background: var(--brand-white);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 6px 18px rgba(11, 39, 72, 0.05);
}

.portfolio-teaser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 39, 72, 0.1);
}

.portfolio-teaser-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--brand-mist);
}

.portfolio-teaser-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.portfolio-teaser-card h2,
.portfolio-teaser-card h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.portfolio-teaser-card__summary {
  margin: 0.5rem 0 0;
  color: var(--brand-gray);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* —— Process timeline —— */
.process-timeline {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.process-timeline__item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 1rem;
  align-items: stretch;
}

.process-timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.35rem;
}

.process-timeline__dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--brand-navy);
  flex-shrink: 0;
}

.process-timeline__dot--loop {
  background: transparent;
  border: 2px solid var(--brand-green);
  box-sizing: border-box;
}

.process-timeline__line {
  flex: 1;
  width: 2px;
  min-height: 1.25rem;
  margin-top: 0.35rem;
  background: rgba(11, 39, 72, 0.22);
}

.process-timeline__line--loop {
  background: rgba(27, 77, 62, 0.35);
}

.process-timeline__content {
  padding: 0.15rem 0 1.35rem;
}

.process-timeline__content h4,
.process-loop__step h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--brand-navy);
}

.process-timeline__content p,
.process-loop__step p {
  margin: 0;
  color: var(--brand-gray);
  font-size: 0.95rem;
  line-height: 1.55;
}

.process-timeline__item--loop {
  margin-bottom: 0.5rem;
}

.process-loop {
  position: relative;
  max-width: 28rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem 1.15rem;
  border: 1.5px solid rgba(27, 77, 62, 0.35);
  border-radius: 12px;
  box-shadow: none;
  background:
    linear-gradient(160deg, rgba(27, 77, 62, 0.06), transparent 55%),
    var(--brand-white);
}

.process-loop__badge {
  margin-bottom: 0.85rem;
}

.process-loop__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-loop__step + .process-loop__step {
  margin-top: 0.15rem;
}

.process-loop__cycle {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.55rem 0 0.65rem;
  color: var(--brand-green);
}

.process-loop__cycle-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(
    90deg,
    rgba(27, 77, 62, 0.15),
    rgba(27, 77, 62, 0.55),
    rgba(27, 77, 62, 0.15)
  );
}

.process-loop__cycle-icon {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1;
}

.process-loop__return {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(27, 77, 62, 0.3);
}

.process-loop__return-icon {
  flex-shrink: 0;
  color: var(--brand-green);
  font-size: 1rem;
}

.process-loop__return-label {
  color: var(--brand-green);
  font-size: 0.75rem;
  font-weight: 600;
}

.maintenance-panel {
  max-width: 720px;
  margin-top: 0.5rem;
}

.maintenance-panel h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: inherit;
}

.maintenance-panel__support {
  margin: 0 0 1rem;
  opacity: 0.88;
}

.maintenance-panel .content {
  margin-bottom: 1rem;
}

.maintenance-panel__note {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.maintenance-panel__price {
  margin: 1.25rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

/* —— Contact —— */
.contact-direct {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-direct li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-direct a {
  font-weight: 500;
  text-decoration: none;
}

.contact-direct a:hover {
  text-decoration: underline;
}

.contact-direct__icon {
  color: var(--brand-navy);
  width: 1.25rem;
  text-align: center;
}

.contact-direct__name {
  color: var(--brand-gray);
  font-size: 0.9rem;
  padding-left: 1.75rem;
}

/* —— Offer page —— */
.offer-tiers {
  margin-bottom: 1rem;
}

.offer-tier h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--brand-navy);
}

.offer-tier p {
  margin: 0;
  color: var(--brand-gray);
  line-height: 1.6;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.capability-item span {
  font-weight: 500;
  color: var(--brand-charcoal);
  line-height: 1.4;
}

.cap-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  display: block;
}

.stack-list {
  max-width: 640px;
  margin-bottom: 2rem;
}

.offer-desktop {
  max-width: 640px;
  border: 1px solid var(--brand-green);
  background: rgba(27, 77, 62, 0.04);
  box-shadow: none;
}

.offer-desktop h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--brand-green);
}

.offer-desktop p {
  margin: 0;
  color: var(--brand-gray);
  line-height: 1.6;
}

.chip-list,
.plain-list {
  padding-left: 1.2rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-left: 0;
}

.chip-list li {
  background: var(--brand-mist);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.plain-list li {
  margin-bottom: 0.5rem;
  color: var(--brand-gray);
  line-height: 1.55;
}

.study__poster {
  width: min(100%, 720px);
  border-radius: 12px;
  margin: 1rem 0 1.5rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.privacy {
  max-width: 760px;
}

.privacy h2 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: 2rem;
  background: linear-gradient(180deg, var(--brand-navy-mid) 0%, var(--brand-navy-deep) 100%);
  color: rgba(255, 255, 255, 0.86);
  padding: 2.5rem 0 1.25rem;
  border-top: 2px solid rgba(255, 255, 255, 0.12);
}

.site-footer a {
  color: inherit;
}

.site-footer__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.site-footer__heading {
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin-bottom: 0.4rem;
}

.site-footer__tagline,
.site-footer__meta {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

/* —— Cookie / contact form —— */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--brand-white);
  border: 1px solid rgba(11, 39, 72, 0.12);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 39, 72, 0.16);
  padding: 1rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.contact-form {
  max-width: 560px;
  display: grid;
  gap: 1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(11, 39, 72, 0.18);
  background: var(--brand-white);
}

.contact-form .consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
}

.contact-form .alert {
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
}

.contact-form .alert--error {
  background: #fdecea;
  color: #8a1f11;
}

.contact-form .alert--success {
  background: #e8f5ef;
  color: #1b4d3e;
}

/* —— Motion —— */
.hero-rise {
  animation: hero-rise 0.85s ease-out both;
}

.hero-rise--delay-1 {
  animation-delay: 0.1s;
}

.hero-rise--delay-2 {
  animation-delay: 0.2s;
}

.hero-rise--delay-3 {
  animation-delay: 0.32s;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-sheen {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes section-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes speed-banner-sheen {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-section__sheen,
  .hero-rise,
  .page-section,
  .speed-banner,
  .speed-banner__pulse {
    animation: none;
  }

  .portfolio-teaser-card:hover {
    transform: none;
  }
}
