:root {
  /* Steel-blue aurora — same layout language as DTR, cooler blue tint */
  --bg: #0f141c;
  --bg-elevated: #171d28;
  --bg-glass: rgba(255, 255, 255, 0.08);
  --bg-glass-strong: rgba(255, 255, 255, 0.11);
  --stroke: rgba(255, 255, 255, 0.16);
  --stroke-subtle: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary: #8b8b96;
  --blue: #5b9cf5;
  --cyan: #7dd3fc;
  --steel: #7a93b0;
  --green: #17c964;
  --accent: var(--blue);
  --cta-bg: #f4f4f5;
  --cta-fg: #0f141c;
  --wash-a: rgba(91, 156, 245, 0.26);
  --wash-b: rgba(125, 211, 252, 0.14);
  --wash-c: rgba(122, 147, 176, 0.18);
  --radius: 14px;
  --glass-blur: 18px;
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wire-filter: brightness(0) saturate(100%) invert(72%) sepia(28%) saturate(900%) hue-rotate(180deg) brightness(1.05);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1080px, 100% - 48px);
  margin-inline: auto;
}

.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;
}

.glass {
  background:
    linear-gradient(var(--bg-glass), var(--bg-glass)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 50%) border-box;
  border: 1px solid var(--stroke-subtle);
  border-radius: var(--radius);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.eyebrow__motif {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
  filter: var(--wire-filter);
}

.lead, .section__lead {
  margin: 0;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 36rem;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(1.25rem, 2.8vw, 1.65rem); font-weight: 500; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

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

.btn--primary {
  background: var(--cta-bg);
  color: var(--cta-fg);
}

.btn--primary:hover { filter: brightness(1.08); }

.btn--ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}

.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.25); }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  background: rgba(91, 156, 245, 0.18);
  color: var(--cyan);
  border: 1px solid rgba(125, 211, 252, 0.28);
}

/* Nav + footer — white bars (same as DTR) */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e8ea;
  background: #ffffff;
  color: #0a0a0a;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: #0a0a0a;
}

.nav__logo,
.footer__logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.footer__logo { height: 36px; }

.nav__wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.nav__name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: #0a0a0a;
}

.nav__powered {
  font-size: 0.65rem;
  color: #6b6b76;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__links a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: #0a0a0a;
  transition: color 0.15s;
}

.nav__links a:not(.btn):hover { color: #52525b; }

.nav__links .btn--primary {
  background: #0a0a0a;
  color: #fff;
}

.nav__links .btn--primary:hover {
  background: #27272a;
  color: #fff;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #0a0a0a;
  border-radius: 1px;
}

/* Hero — full-bleed banner v01 + steel-blue readability overlays */
.hero {
  position: relative;
  min-height: min(92vh, 44rem);
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 3.5rem;
  overflow: hidden;
}

.hero__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    linear-gradient(105deg, rgba(15, 20, 28, 0.88) 0%, rgba(15, 20, 28, 0.55) 38%, rgba(15, 20, 28, 0.22) 62%, transparent 82%),
    linear-gradient(180deg, rgba(15, 20, 28, 0.35) 0%, transparent 42%, rgba(15, 20, 28, 0.78) 100%),
    url("assets/hero-banner.png");
  background-size: cover, cover, cover;
  background-position: center, center, center 35%;
  background-repeat: no-repeat;
}

.hero__twins {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__twins img {
  position: absolute;
  width: min(14rem, 32vw);
  opacity: 0.07;
  filter: var(--wire-filter);
}

.hero__twins img:first-child {
  top: 14%;
  left: 3%;
  transform: rotate(-8deg);
}

.hero__twins img:last-child {
  right: 3%;
  bottom: 12%;
  transform: rotate(12deg) scaleX(-1);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  max-width: 40rem;
  animation: content-in 0.85s ease-out 0.15s both;
}

.hero__brand {
  margin: 0;
  font-size: clamp(2.15rem, 5.5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.focus-card {
  width: min(100%, 22rem);
  padding: 1.15rem 1.25rem;
  margin-top: 0.35rem;
}

.focus-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.focus-card__head strong {
  font-size: 0.9rem;
}

.focus-card__intro {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.focus-card__list {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.focus-card__list li { margin: 0.25rem 0; }

.hero__stacks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.hero__stacks span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--stroke-subtle);
  border-radius: 999px;
}

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

.section__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.iso-divider {
  display: block;
  width: min(16rem, 100%);
  height: 10px;
  margin: 0.35rem 0 0.15rem;
  background: linear-gradient(90deg, var(--cyan), var(--blue) 45%, var(--steel));
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' fill='none'%3E%3Cpath d='M0 7H78L90 3H150L162 7H240' stroke='black' stroke-width='1.25' stroke-linecap='square'/%3E%3Cpath d='M0 9H76L88 5H152L164 9H240' stroke='black' stroke-width='0.75' opacity='0.55'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 10' fill='none'%3E%3Cpath d='M0 7H78L90 3H150L162 7H240' stroke='black' stroke-width='1.25' stroke-linecap='square'/%3E%3Cpath d='M0 9H76L88 5H152L164 9H240' stroke='black' stroke-width='0.75' opacity='0.55'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* About — DTR-like identity + glass reasons */
.over {
  display: grid;
  gap: 1.75rem;
}

.over__alban {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}

.over__alban > p {
  margin: 0;
  color: var(--text-secondary);
}

.over__identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.over__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex-shrink: 0;
  border: 2px solid var(--stroke);
}

.wie__name {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.over__reasons {
  padding: 1.25rem 1.35rem;
  max-width: 28rem;
}

.over__reasons strong {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.over__reasons ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.over__reasons li { margin: 0.35rem 0; }

.over__bridge {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.over__bridge a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.over__bridge a:hover { color: var(--text); }

.stack-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-list li {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--stroke-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.stack-ai {
  padding: 1.2rem 1.35rem;
  margin: 0 0 2rem;
  max-width: 36rem;
}

.stack-ai__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stack-ai h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.stack-ai > p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stack-ai .stack-list {
  margin: 0;
}

.stack-list--ai li {
  color: var(--cyan);
  border-color: rgba(91, 156, 245, 0.32);
  background: rgba(91, 156, 245, 0.08);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.card.is-in {
  opacity: 1;
  transform: none;
}

.card__meta { display: flex; }

.card__accent {
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 2px;
}

.card__accent--blue { background: var(--blue); }
.card__accent--sky { background: var(--cyan); }
.card__accent--steel { background: var(--steel); }

.card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.section--dtr { padding-top: 2rem; }

.dtr-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--stroke-subtle);
  border-bottom: 1px solid var(--stroke-subtle);
}

.dtr-callout .section__lead { margin-bottom: 0.5rem; }
.dtr-callout .btn { margin-top: 0.35rem; }

/* Contact */
.section--contact { padding-bottom: 3rem; }

.contact {
  padding: 2.5rem 2rem;
  text-align: center;
}

.contact > p {
  margin: 0.75rem auto 1.5rem;
  color: var(--text-secondary);
  max-width: 28rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 32rem;
  margin: 0 auto 1.5rem;
  text-align: left;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.contact__form input,
.contact__form textarea {
  font: inherit;
  padding: 0.625rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--text);
}

.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: rgba(91, 156, 245, 0.45);
}

.contact__message { grid-column: 1 / -1; }

.contact__form button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: center;
}

.contact__hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.contact__hint a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact__hint a:hover { color: var(--text); }

.contact__status {
  grid-column: 1 / -1;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact__status--success { color: var(--green); }

.contact__details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

.contact__details a:hover { color: var(--text); }

.footer {
  margin: 0;
  padding: 1.25rem 0;
  border-top: 1px solid #e8e8ea;
  background: #ffffff;
  color: #0a0a0a;
}

.footer__inner {
  display: flex;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #0a0a0a;
}

.footer__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer__name {
  font-weight: 600;
  color: #0a0a0a;
}

.footer__sub {
  font-size: 0.75rem;
  color: #6b6b76;
}

.footer__sub a {
  color: #0a0a0a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__sub a:hover { color: #52525b; }

@keyframes content-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .card {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 768px) {
  .nav__powered { display: none; }
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 24px 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e8e8ea;
  }

  .nav__links.is-open { display: flex; }
  .nav__inner { position: relative; }

  .hero {
    min-height: min(88vh, 38rem);
    align-items: flex-end;
  }

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