@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/open-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: Raleway;
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/raleway-latin.woff2") format("woff2");
}

:root {
  --ink: #2e0249;
  --paper: #fff;
  --accent: #c4471a;
  --accent-dark: #9d3412;
  --line: rgba(46, 2, 73, 0.16);
  --field: #f7f4fb;
  --bad: #8d1230;
  --ok: #146c36;
  --bar: 64px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

#process,
#projects,
#contact,
#message,
#main {
  scroll-margin-top: 88px;
}

body.drslon {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

.drslon * { box-sizing: border-box; }

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

.drslon img.drslon-shot {
  display: block;
  width: 100%;
  height: 168px;
  aspect-ratio: 387 / 168;
  object-fit: cover;
  object-position: center;
  background: #efeaf6;
}

.drslon a { color: var(--accent); }

.drslon-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  padding: 8px 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

.drslon-skip:focus { top: 12px; }

.drslon-wrap {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.drslon-hero {
  position: relative;
  min-height: clamp(680px, 68vw, 920px);
  margin-top: calc(var(--bar) * -1);
  padding-top: var(--bar);
  overflow: hidden;
  color: #fff;
  background: #1a1048;
}

.drslon-hero > picture { display: contents; }

.drslon-cycle-photo,
.drslon-project picture { display: block; }

.drslon-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
}

.drslon-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: transparent;
}

.drslon-bar.is-solid { background: #1a1048; }

.drslon-bar-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 18px;
  height: var(--bar);
}

.drslon-brand {
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.drslon-nav { display: flex; gap: 4px; }

.drslon-nav a {
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}

.drslon-nav a[href="#process"] {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.drslon-nav a:hover,
.drslon-nav a:focus-visible,
.drslon-nav a[aria-current="true"] { background: rgba(255, 255, 255, 0.28); }

.drslon-phone {
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.drslon-menu {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}

.drslon-hero-copy {
  position: relative;
  z-index: 1;
  width: min(40rem, 58%);
  padding: 148px 0 120px;
}

.drslon-hero h1,
.drslon-title,
.drslon-strip h2,
.drslon-orbit h3 {
  font-family: Raleway, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.drslon-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 2.6vw, 38px);
  white-space: nowrap;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.drslon-sub {
  margin: 6px 0 0;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.drslon-hero-copy p,
.drslon-copy {
  max-width: 65ch;
}

.drslon-hero-copy p {
  max-width: 34rem;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.6;
}

.drslon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  min-width: 210px;
  padding: 16px 28px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, #e23b32 0%, #f0a024 100%);
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.drslon-btn:hover { filter: brightness(1.06); color: #fff; }

.drslon-btn:active { transform: scale(0.98); }

.drslon-btn:focus-visible,
.drslon-field:focus-visible,
.drslon-phone:focus-visible,
.drslon-menu:focus-visible,
.drslon-brand:focus-visible,
.drslon-project:focus-visible,
.drslon-up:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.drslon-block { margin-top: 96px; }

.drslon-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.drslon-copy {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.65;
}

.drslon-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: 28px;
}

.drslon-fcard {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 120px;
  padding: 16px 22px;
  border: 1px solid rgba(46, 2, 73, 0.08);
  border-radius: 8px;
  background: #fff;
}

.drslon-fcard img { width: 72px; height: 72px; object-fit: contain; flex: none; }

.drslon-fcard p {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.drslon-process {
  margin-top: 96px;
  padding: 72px 0 80px;
  background-color: #f4f1fa;
  background-image: url("media/bg2.jpg");
  background-image: image-set(url("media/bg2.webp") type("image/webp"), url("media/bg2.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.drslon-cycle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy photo"
    "btn photo"
    "steps steps";
  gap: 8px 36px;
  align-items: start;
}

.drslon-cycle-copy { grid-area: copy; }

.drslon-cycle-photo { grid-area: photo; }

.drslon-cycle-photo img,
.drslon-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.drslon-cycle-btn {
  grid-area: btn;
  justify-self: start;
  margin-top: 18px;
}

.drslon-steps {
  grid-area: steps;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 36px;
  row-gap: 18px;
}

.drslon-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 8px;
  align-items: baseline;
  list-style: none;
}

.drslon-steps li::marker { content: none; }

.drslon-num {
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.drslon-orbit {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 300px) 1fr;
  grid-template-areas:
    "one hub four"
    "two hub three";
  gap: 18px 22px;
  align-items: center;
  margin-top: 36px;
}

.drslon-orbit .s1 { grid-area: one; }
.drslon-orbit .s2 { grid-area: two; }
.drslon-orbit .s3 { grid-area: three; }
.drslon-orbit .s4 { grid-area: four; }

.drslon-orbit article {
  padding: 22px 20px;
  border: 1px solid rgba(46, 2, 73, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(46, 2, 73, 0.05);
}

.drslon-orbit h3 {
  margin: 0;
  font-family: Raleway, sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
}

.drslon-orbit .drslon-btn {
  min-width: 0;
  margin-top: 16px;
  padding: 10px 18px;
}

.drslon-orbit .hub {
  position: relative;
  margin: 0;
}

.drslon-orbit .hub img {
  display: block;
  width: 100%;
  height: auto;
}

.drslon-kick {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 78%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.drslon-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}

.drslon-models img {
  display: block;
  width: 100%;
  height: auto;
}

.drslon-strip {
  margin-top: 88px;
  padding: 56px 0;
  background: linear-gradient(90deg, #f0441c 0%, #ff7a18 58%, #ffb020 100%);
  color: #fff;
}

.drslon-strip-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(460px, 1.15fr);
  gap: 36px;
  align-items: center;
}

.drslon-strip h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}



.drslon-card {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(26, 8, 48, 0.18);
}

.drslon-form { display: grid; gap: 14px; }

.drslon-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.drslon-label {
  display: grid;
  gap: 6px;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.drslon-req { color: var(--accent); text-decoration: none; }

.drslon-field {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field);
  color: var(--ink);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.drslon-field::placeholder { color: rgba(46, 2, 73, 0.45); }

textarea.drslon-field { min-height: 120px; resize: vertical; }

.drslon-field.is-invalid,
.drslon-field:user-invalid { border-color: var(--bad); background: #fff6f7; }

.drslon-card .drslon-btn { width: auto; margin-top: 0; }

.drslon-form > .drslon-btn { justify-self: start; }

.drslon-ok,
.drslon-bad {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 15px;
}

.drslon-ok { background: #eef8f1; color: var(--ok); }

.drslon-bad { background: #fff1f2; color: var(--bad); }

.drslon-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.drslon-projects { margin-top: 96px; }

.drslon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 20px;
  margin-top: 28px;
}

.drslon-project {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding-bottom: 16px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(46, 2, 73, 0.08);
}

.drslon-shot {
  width: 100%;
  height: 168px;
  aspect-ratio: 387 / 168;
  object-fit: cover;
  object-position: center;
  border-radius: 12px 12px 0 0;
  background: #efeaf6;
}

.drslon-project h3,
.drslon-project p,
.drslon-open { padding-right: 16px; padding-left: 16px; }

.drslon-project h3 {
  margin: 12px 0 0;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.drslon-project p { margin: 0; font-size: 15px; line-height: 1.5; }

.drslon-open {
  margin-top: auto;
  padding-top: 8px;
  color: #d01262;
  font-family: Raleway, sans-serif;
  font-weight: 600;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.drslon-open.is-private { color: rgba(46, 2, 73, 0.45); }

.drslon-project:hover .drslon-open { text-decoration: underline; }

.drslon-tech {
  position: relative;
  margin-top: 96px;
  padding: 72px 0 80px;
  overflow: hidden;
  background-color: #f6f3fb;
  background-image: url("media/rectangle-3.jpg");
  background-image: image-set(url("media/rectangle-3.webp") type("image/webp"), url("media/rectangle-3.jpg") type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.drslon-tech .drslon-wrap { position: relative; z-index: 1; }

.drslon-tech h3 {
  margin: 28px 0 0;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drslon-hand {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: min(460px, 40%);
  height: auto;
  pointer-events: none;
}

.drslon-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(46, 2, 73, 0.12);
}

.drslon-logos:not(:first-of-type) { max-width: 68%; }

.drslon-logos img {
  height: 54px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  object-position: left center;
}

.drslon-footer .drslon-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.drslon-footer .drslon-label { color: #fff; }

.drslon-footer .drslon-field { background: #fff; }

.drslon-footer {
  position: relative;
  z-index: 1;
  padding: 72px 0 22px;
  color: #fff;
  background: #2a0458;
}

.drslon-footer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 32px;
  align-items: start;
}

.drslon-word {
  margin: 0 0 12px;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drslon-footer p { margin: 0 0 8px; font-size: 17px; }

.drslon-footer p.drslon-credit {
  width: 100%;
  margin: 96px 0 0;
  padding: 0 16px;
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.drslon .drslon-footer .drslon-credit a {
  color: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  text-decoration: none;
}

.drslon .drslon-footer .drslon-credit a:hover {
  color: rgba(255, 255, 255, 0.32);
}

.drslon a.drslon-brand,
.drslon a.drslon-phone,
.drslon a.drslon-btn,
.drslon a.drslon-up,
.drslon .drslon-footer a { color: #fff; }

.drslon a.drslon-project,
.drslon a.drslon-project:hover { color: inherit; }

.drslon-up[hidden] { display: none; }

.drslon-up {
  position: fixed;
  right: 24px;
  left: auto;
  bottom: 24px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.drslon-missing {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 16px;
  color: #fff;
  background: #1a1048 url("media/bg1.jpg") center / cover no-repeat;
}

.drslon-missing h1 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Raleway, sans-serif;
  font-weight: 800;
  font-size: 64px;
}

.drslon-missing p { color: #fff; }

@media (max-width: 900px) {
  #process,
  #projects,
  #contact,
  #message,
  #main { scroll-margin-top: 76px; }

  .drslon-wrap { width: min(1120px, calc(100% - 32px)); }

  .drslon-bar,
  .drslon-bar.is-solid {
    padding-top: env(safe-area-inset-top);
    background: #16082e;
  }

  .drslon-bar-inner {
    grid-template-columns: auto 1fr;
    height: 56px;
    gap: 8px;
    align-items: center;
    padding: 0;
  }

  .drslon-brand { font-size: 13px; }

  .drslon-phone { display: none; }

  .drslon-nav {
    grid-row: 1;
    grid-column: 2;
    justify-content: flex-end;
    flex-wrap: nowrap;
    margin: 0;
  }

  .drslon-nav a { padding: 8px 8px; font-size: 14px; white-space: nowrap; }

  .drslon-hero {
    min-height: 0;
    margin-top: 0;
    padding-top: 0;
    background: #16082e;
  }

  .drslon-hero {
    display: flex;
    flex-direction: column;
  }

  .drslon img.drslon-hero-art {
    position: relative;
    inset: auto;
    order: 2;
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: 78% 52%;
  }

  .drslon-hero > .drslon-wrap { order: 1; }

  .drslon-hero-copy { width: 100%; padding: 28px 0 20px; }

  .drslon-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
    white-space: normal;
  }

  .drslon-sub { font-size: 22px; }

  .drslon-hero-copy p { font-size: 16px; }

  .drslon-block { margin-top: 56px; }

  .drslon-title { font-size: clamp(28px, 8vw, 40px); }

  .drslon-copy { font-size: 16px; }

  .drslon-features,
  .drslon-cycle,
  .drslon-strip-grid,
  .drslon-footer-grid,
  .drslon-inline,
  .drslon-models { grid-template-columns: 1fr; }

  .drslon-cycle {
    grid-template-areas:
      "copy"
      "photo"
      "btn"
      "steps";
  }

  .drslon-orbit {
    grid-template-columns: 1fr;
    grid-template-areas:
      "one"
      "four"
      "hub"
      "two"
      "three";
  }

  .drslon-hand { display: none; }

  .drslon-features { grid-template-columns: 1fr 1fr; }

  .drslon-logos:not(:first-of-type) { max-width: none; }

  .drslon-features { gap: 22px; margin-top: 22px; }

  .drslon-fcard img { width: 52px; height: 52px; }

  .drslon-fcard p { font-size: 18px; }

  .drslon-process { margin-top: 56px; padding: 40px 0 48px; }

  .drslon-orbit { margin-top: 28px; }

  .drslon-strip { margin-top: 56px; padding: 36px 0; }

  .drslon-strip h2 { font-size: clamp(28px, 8vw, 40px); }

  .drslon-strip form { order: 0; }

  .drslon-card { padding: 18px; }

  .drslon-card .drslon-btn,
  .drslon-inline .drslon-btn,
  .drslon-cycle-btn,
  .drslon-orbit .drslon-btn { width: 100%; }

  .drslon-projects { margin-top: 56px; }

  .drslon-grid { gap: 32px; }

  .drslon-tech { margin-top: 56px; padding: 40px 0 48px; }

  .drslon-logos img { height: 40px; }

  .drslon-footer { padding: 40px 0 calc(92px + env(safe-area-inset-bottom)); }

  .drslon-footer p.drslon-credit { margin-top: 40px; font-size: 11px; }

  .drslon .drslon-footer .drslon-credit a {
    color: rgba(255, 255, 255, 0.26);
    font-size: 11px;
  }

  .drslon-up {
    right: 16px;
    left: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }

  .drslon-missing {
    background:
      linear-gradient(180deg, rgba(16, 6, 42, 0.78), rgba(16, 6, 42, 0.62)),
      #1a1048 url("media/bg1.jpg") center / cover no-repeat;
  }

  .drslon-missing h1 { font-size: 48px; }
}

@media (max-width: 1024px) {
  .drslon-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
}

@media (max-width: 700px) {
  .drslon-steps {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

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

  .drslon-features { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .drslon-menu { display: inline-flex; }

  .drslon-bar-inner { grid-template-columns: 1fr auto; }

  .drslon-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 6;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px 16px 14px;
    background: #1a1048;
  }

  .drslon-nav.is-open { display: flex; }

  .drslon-nav a { padding: 12px 8px; font-size: 16px; }
}
