@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-display.woff2") format("woff2");
  font-weight: 640;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #1c2333;
  --heading: #40f6d6;
  --ink: #d5deea;
  --muted: #c3d3e3;
  --line: rgba(232, 236, 244, 0.14);
  --white: #2a3348;
  --mist: #323c54;
  --accent: #2ad5b9;
  --accent-text: #3ce8ca;
  --warm: #f6d56a;
  --iris: #d5b3fa;
  --iris-text: #d0aafa;
  --rose: #fba6d1;
  --rose-text: #fa9bcc;
  --on-accent: #12182a;
  --on-dark: #d5deea;
  --danger: #ffb4bc;
  --serif: "Fraunces", "Palatino Linotype", Palatino, Georgia, serif;
  --text: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --gutter: 0.8rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
.label,
.faq summary,
.lang-row strong,
.project-list strong {
  color: var(--heading);
}

.frame {
  width: calc(100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 0.8rem;
  background: var(--white);
  color: var(--ink);
}

.skip:focus {
  top: 0.75rem;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: var(--bg);
  pointer-events: none;
  animation: loader-out 0.4s ease 0.85s forwards;
}

.loader.is-done {
  animation: loader-out 0.28s ease forwards;
}

.loader .mark {
  font-size: 2.6rem;
}

@keyframes loader-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  margin: 0;
  color: #f4f7ff;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 4.35rem;
  height: 4.35rem;
  flex: none;
  display: block;
}

.mark-word > span {
  color: var(--accent-text);
}

.utility {
  background: #141a28;
  color: var(--on-dark);
  font-size: 0.95rem;
}

.utility a {
  color: var(--accent-text);
  text-decoration: none;
}

.utility span {
  color: var(--warm);
}

.utility-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1.5rem;
  min-height: 2.4rem;
  align-items: center;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(28, 35, 51, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease;
}

.top.is-stuck {
  box-shadow: 0 10px 28px rgba(8, 10, 16, 0.35);
}

.top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 5rem;
}

.nav-toggle {
  min-height: 48px;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--accent-text);
  background: var(--white);
  color: var(--accent-text);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.nav-toggle-close {
  display: none;
}

.nav-links {
  display: none;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[href$="#servicii"],
.nav-links a[href$="#limbaje"],
.nav-links a[href$="#contact"]:not(.action) {
  color: var(--accent-text);
}

.nav-links a[href$="#lucru"] {
  color: var(--iris-text);
}

.nav-links a[href$="#proiecte"] {
  color: var(--rose-text);
}

.nav-links a[href$="#intrebari"] {
  color: var(--warm);
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.2;
}

.action-bar {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
  background:
    linear-gradient(105deg, rgba(12, 16, 28, 0.86) 0%, rgba(12, 16, 28, 0.72) 48%, rgba(12, 16, 28, 0.46) 100%),
    url("/assets/img/decor/wash.svg?v=45") right -6rem top -4rem / 34rem no-repeat,
    radial-gradient(ellipse 55% 70% at 86% 28%, rgba(42, 213, 185, 0.32), transparent 62%),
    #1c2333;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 18rem;
  height: 18rem;
  right: 6%;
  bottom: -7rem;
  background: conic-gradient(from 140deg, transparent 0 20%, rgba(42, 213, 185, 0.38) 40%, transparent 62%);
  animation: drift 16s ease-in-out infinite alternate;
}

.hero::after {
  width: 22rem;
  height: 22rem;
  right: -7rem;
  top: -8rem;
  border: 1px solid rgba(42, 213, 185, 0.5);
}

.hero-frame,
.hero-stage,
.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy {
  position: relative;
}

.hero-copy h1 {
  margin: 0.2rem 0 1rem;
  max-width: 14em;
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.15rem, 6vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #e9fff8 0%, #40f6d6 46%, #14c9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p,
.prose p {
  margin: 0 0 0.9rem;
  max-width: 38rem;
  color: var(--ink);
}

.lede {
  font-size: 1.125rem;
}

.hero-aside {
  display: none;
}

.hero-mark {
  display: block;
  width: min(100%, 27rem);
  height: auto;
  margin-left: auto;
}

.hero-mark .orbit,
.hero-mark .field,
.hero-mark .magnet,
.hero-mark .magnet-edge,
.hero-mark .tick,
.hero-mark .pole-halo,
.hero-mark .trace,
.hero-mark .pad,
.hero-mark .bracket,
.hero-mark .chip {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-mark .orbit {
  stroke: rgba(232, 236, 244, 0.42);
  stroke-width: 1;
}

.hero-mark .orbit-dash {
  stroke: rgba(208, 170, 250, 0.7);
  stroke-width: 1.3;
  stroke-dasharray: 1.5 8;
}

.hero-mark .orbit-ticks {
  stroke: rgba(125, 255, 228, 0.5);
  stroke-width: 1.5;
  stroke-dasharray: 2 13;
}

.hero-mark .trace {
  stroke: #7dffe4;
  stroke-width: 1.15;
  stroke-linejoin: miter;
}

.hero-mark .pad {
  stroke: #e9fffa;
  stroke-width: 1.2;
}

.hero-mark .pad-iris {
  stroke: #d0aafa;
}

.hero-mark .pad-warm {
  stroke: #f6d56a;
}

.hero-mark .bracket {
  stroke: rgba(232, 236, 244, 0.5);
  stroke-width: 1.3;
}

.hero-mark .chip {
  stroke: #3ce8ca;
  stroke-width: 1.35;
}

.hero-mark .field {
  stroke: #7dffe4;
  stroke-width: 1.7;
}

.hero-mark .field-soft {
  stroke: rgba(125, 255, 228, 0.55);
  stroke-width: 1.2;
}

.hero-mark .field-mid {
  stroke: #d0aafa;
  stroke-width: 1.5;
}

.hero-mark .field-inner {
  stroke: #f6d56a;
  stroke-width: 1.35;
}

.hero-mark .magnet {
  stroke: #e9fffa;
  stroke-width: 16;
}

.hero-mark .magnet-edge {
  stroke: #3ce8ca;
  stroke-width: 2.6;
}

.hero-mark .tick {
  stroke: rgba(232, 255, 250, 0.55);
  stroke-width: 1.4;
}

.hero-mark .pole-halo {
  stroke: #f6d56a;
  stroke-width: 1.2;
}

.hero-mark .pole-halo-s {
  stroke: #fa9bcc;
}

.hero-mark .node {
  fill: #b6ffe8;
}

.hero-mark .node-iris {
  fill: #d0aafa;
}

.hero-mark .node-rose {
  fill: #fa9bcc;
}

.hero-mark .node-warm {
  fill: #f6d56a;
}

.hero-mark .pole {
  fill: #f6d56a;
}

.hero-mark .pole-s {
  fill: #fa9bcc;
}

.hero-mark .core {
  fill: #3ce8ca;
}

.hero-mark .spin,
.hero-mark .spin-back {
  transform-origin: center;
  transform-box: fill-box;
}

.hero-mark .spin {
  animation: turn 54s linear infinite;
}

.hero-mark .spin-back {
  animation: turn-back 36s linear infinite;
}

.tiles {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.tiles li {
  animation: rise 0.7s ease both;
}

.tiles li:nth-child(2) { animation-delay: 0.08s; }
.tiles li:nth-child(3) { animation-delay: 0.16s; }
.tiles li:nth-child(4) { animation-delay: 0.24s; }

.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: 0.95rem 1rem 1.05rem;
  background: var(--white);
  color: var(--ink);
  border-top: 3px solid var(--line);
  text-decoration: none;
}

.tile {
  transition: transform 0.25s ease;
}

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

.tile h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.tile p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.tile-light {
  border-top-color: var(--accent);
}

.tile-ink {
  border-top-color: var(--ink);
}

.tile-accent {
  border-top-color: #0c8f78;
}

.tile-mist {
  border-top-color: #8b93a3;
}

.block {
  padding: 4.25rem 0;
}

.label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--accent-text);
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.label-more {
  margin-left: auto;
  flex: none;
  color: var(--warm);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.label::before {
  content: "";
  width: 1.5rem;
  height: 3px;
  flex: none;
  background: currentColor;
}

.matrix {
  list-style: none;
  margin: 1.75rem 0 0.5rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.matrix > li {
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(18, 20, 26, 0.05);
  transition: transform 0.25s ease;
}

.matrix > li:hover {
  transform: translateY(-3px);
}

.matrix h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.matrix h3 a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.card-ico {
  width: 1.45rem;
  height: 1.45rem;
  flex: none;
  color: var(--accent-text);
}

.matrix ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.matrix li li {
  color: var(--accent-text);
  font-size: 1.12rem;
  line-height: 1.45;
}

.band-servicii .prose p {
  max-width: 46rem;
  font-size: 1.24rem;
  line-height: 1.65;
}

.story {
  display: grid;
  gap: 0;
}

.story article {
  padding: 1.8rem 0;
  border-top: 1px solid var(--heading);
}

.story h2,
.contact-copy h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.contact-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.45rem);
}

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: step;
}

.steps li {
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--white);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--warm);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.steps h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.steps h2 a {
  text-decoration: none;
}

.steps p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.5;
}

.faq {
  display: grid;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent-text);
  font-size: 1.4rem;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin: 0 0 1.1rem;
  max-width: 40rem;
}

.langs {
  padding: 4.5rem 0;
  background: #222a3c;
}

.lang-row {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.8rem;
}

.lang-row li {
  background: #2d3750;
  padding: 1.15rem 1.1rem 1.25rem;
}

.lang-row li > span {
  display: block;
  color: var(--warm);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-row strong {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lang-row a {
  color: inherit;
  text-decoration: none;
}

.lang-row em {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-style: normal;
  font-size: 1rem;
}

.projects {
  position: relative;
  padding: 4.5rem 0;
  background: #1a2740;
}

.projects .frame {
  position: relative;
}

.project-list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0.2rem 1.25rem;
  background: #24324a;
}

.project-list a {
  display: grid;
  gap: 0.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
}

.project-list li:last-child a {
  border-bottom: 1px solid var(--line);
}

.project-list strong {
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  transition: color 0.2s ease;
}

.project-list .kind {
  color: var(--warm);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-list .note {
  color: var(--muted);
}

.project-list a:hover strong,
.project-list a:focus-visible strong {
  color: var(--accent-text);
}

.contact-band {
  background:
    radial-gradient(circle at 100% 0, rgba(42, 213, 185, 0.34), transparent 36%),
    #12182a;
  color: var(--on-dark);
  padding: 3.5rem 0;
}

.contact-copy a,
.prose a {
  color: var(--accent-text);
}

form {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 1.2rem 1.05rem 1.3rem;
  background: var(--white);
  color: var(--ink);
}

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--heading);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(28, 35, 51, 0.18);
  background: #eef1f6;
  color: #1a2030;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

button[type="submit"] {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border: 0;
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.notice {
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: var(--bg);
  color: var(--ink);
  border-left: 4px solid var(--accent);
}

.notice.err {
  border-left-color: var(--danger);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
}

.hp {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

.foot {
  background: #1e283c;
  color: var(--ink);
  padding: 1.7rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  gap: 1rem 1.5rem;
  align-items: center;
}

.foot .mark {
  color: #f4f7ff;
  font-size: 1.55rem;
  text-decoration: none;
}

.foot .brand-mark {
  width: 2.75rem;
  height: 2.75rem;
}

.foot .mark-word > span {
  color: var(--accent-text);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
}

.foot nav a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.foot nav a[aria-current="page"] {
  color: var(--accent-text);
}

.foot-mail {
  color: var(--accent-text);
  text-decoration: none;
}

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.foot-note,
.foot-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.foot-note {
  max-width: 28rem;
}

.legal {
  padding: 2.8rem 0 4rem;
}

.legal-copy {
  max-width: 40rem;
}

.legal h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.legal h2 {
  margin: 1.8rem 0 0.35rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.35rem;
  line-height: 1.2;
}

.legal p {
  margin: 0.45rem 0 0;
}

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

.legal-date {
  margin-top: 0.7rem;
  color: var(--muted);
}

.float-write {
  position: fixed;
  right: 1rem;
  bottom: 4.5rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0.4rem 0.9rem;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  visibility: hidden;
  pointer-events: none;
}

.float-write.is-on {
  visibility: visible;
  pointer-events: auto;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  background: #2a3348;
  color: var(--accent-text);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.to-top svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.to-top.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.contact-band :focus-visible,
.action:focus-visible,
.float-write:focus-visible,
.to-top:focus-visible {
  outline-color: var(--heading);
}

@media (max-width: 71.99rem) {
  .foot-note {
    padding-right: 5.75rem;
  }

  .top {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    padding: 5.5rem 1.6rem 2.5rem;
    background:
      url("/assets/img/decor/wash.svg?v=45") right -8rem top -6rem / 28rem no-repeat,
      radial-gradient(circle at 100% 0, rgba(42, 213, 185, 0.3), transparent 38%),
      #141a28;
    color: var(--on-dark);
    overflow: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    box-shadow: -18px 0 40px rgba(8, 10, 16, 0.28);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.42s;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .top {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.nav-open .nav-toggle {
    position: fixed;
    top: 0.85rem;
    right: 1rem;
    z-index: 40;
    background: transparent;
    color: var(--on-dark);
    border-color: rgba(244, 245, 247, 0.35);
  }

  body.nav-open .nav-toggle-open {
    display: none;
  }

  body.nav-open .nav-toggle-close {
    display: inline;
  }

  body.nav-open .nav-links {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
  }

  body.nav-open .nav-links a {
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(244, 245, 247, 0.1);
    font-family: var(--serif);
    font-weight: 640;
    font-size: clamp(1.7rem, 6.5vw, 2.3rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  body.nav-open .nav-links a.action {
    align-self: flex-start;
    flex-shrink: 0;
    width: auto;
    min-width: 11.5rem;
    margin-top: 1.1rem;
    border: 0;
    color: var(--on-accent);
    font-family: var(--text);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

@media (min-width: 48rem) {
  .tiles,
  .matrix,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .lang-row {
    grid-template-columns: 1fr 1fr;
  }

  .project-list a {
    grid-template-columns: 7.2rem minmax(11rem, 0.7fr) 1.2fr;
    align-items: baseline;
    column-gap: 1.5rem;
  }

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

  button[type="submit"] {
    width: auto;
    min-width: 12rem;
    justify-self: start;
  }
}

@media (min-width: 64rem) {
  :root {
    --gutter: clamp(2.75rem, 4.6vw, 5.75rem);
  }

  .top .mark {
    font-size: 1.95rem;
  }

  .hero {
    padding: 3.2rem 0 2.6rem;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-frame {
    display: grid;
    grid-template-columns: minmax(0, 40rem) minmax(14rem, 1fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
  }

  .hero-aside {
    display: block;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 3.3vw, 3.35rem);
  }

  .tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2rem;
  }

  .story article {
    display: grid;
    grid-template-columns: minmax(12rem, 0.7fr) 1.3fr;
    gap: 2rem;
    align-items: start;
    padding: 2.4rem 0;
  }

  .sheet-more {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  }

  .story h2 {
    margin: 0;
  }

  .lang-layout {
    display: grid;
    grid-template-columns: minmax(16rem, 0.78fr) 1.22fr;
    align-items: start;
    gap: 2rem;
    background: none;
  }

  .lang-intro {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--ink);
  }

  .lang-layout .lang-row {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }

  form {
    margin-top: 0;
    padding: 1.45rem 1.35rem 1.55rem;
    max-width: 42rem;
    justify-self: start;
  }

  .foot-grid {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
  }

  .foot nav {
    justify-content: center;
  }
}

@media (min-width: 72rem) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }

  .nav-links a:not(.action) {
    position: relative;
  }

  .nav-links a:not(.action)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.28rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }

  .nav-links a:not(.action):hover::after,
  .nav-links a[aria-current="true"]::after {
    transform: scaleX(1);
  }

  .action-bar {
    display: inline-flex;
  }

  .action-menu {
    display: none;
  }

  .float-write {
    display: none;
  }

  .matrix,
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.seam {
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - (var(--gutter) * 2));
  height: 18px;
  margin: -9px auto;
  padding: 0;
  border: 0;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(125, 255, 228, 0.4) 7%,
      #7dffe4 calc(50% - 1.15rem),
      transparent calc(50% - 1.15rem),
      transparent calc(50% + 1.15rem),
      #7dffe4 calc(50% + 1.15rem),
      rgba(125, 255, 228, 0.4) 93%,
      transparent 100%
    )
    center / 100% 2px no-repeat;
}

.seam::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #f3fff9;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 18px rgba(60, 232, 202, 0.95);
}

.seam-gate {
  height: 46px;
  margin: -23px auto;
  background: none;
}

.seam-gate::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(125, 255, 228, 0.35) 8%, #7dffe4 32%, transparent 46%, transparent 54%, #d5b3fa 68%, rgba(213, 179, 250, 0.35) 92%, transparent 100%) center 13px / 100% 1.5px no-repeat,
    linear-gradient(90deg, transparent 0%, rgba(246, 213, 106, 0.28) 12%, #f6d56a 36%, transparent 46%, transparent 54%, #fba6d1 64%, rgba(251, 166, 209, 0.28) 88%, transparent 100%) center 33px / 100% 1.5px no-repeat;
}

.seam-gate::after {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, #f6d56a 0 2.5px, #1c2333 3px 5.5px, transparent 6px);
  border: 1.5px solid #7dffe4;
  box-shadow: 0 0 0 4px rgba(28, 35, 51, 0.45), 0 0 20px rgba(125, 255, 228, 0.9);
  transform: translate(-50%, -50%);
}

.band-servicii {
  padding-top: 0;
  padding-bottom: 0;
}

.sheet {
  padding: 2.8rem 0 4.5rem;
}

.sheet h1 {
  margin: 0 0 0.85rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.sheet-lead {
  margin: 0;
  max-width: 44rem;
  font-size: clamp(1.28rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.sheet .story h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.4rem);
}

.sheet .prose p {
  max-width: 44rem;
  font-size: 1.2rem;
  line-height: 1.7;
}

.sheet .story {
  margin-top: 1.6rem;
}

.story article {
  scroll-margin-top: 5.5rem;
}

.sheet-more {
  display: grid;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.sheet-more article {
  padding: 1.2rem 1.15rem 1.3rem;
  background: var(--white);
  border-top: 3px solid var(--accent);
}

.sheet-more article:nth-child(2) {
  border-top-color: var(--iris-text);
}

.sheet-more article:nth-child(2) h2 {
  color: var(--iris);
}

.sheet-more article:nth-child(3) {
  border-top-color: var(--rose-text);
}

.sheet-more article:nth-child(3) h2 {
  color: var(--rose);
}

.sheet-more h2 {
  margin: 0 0 0.55rem;
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.sheet-more p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.65;
}

.sheet-more p + p {
  margin-top: 0.8rem;
}

.sheet-more a {
  color: var(--accent-text);
}

.band-top {
  padding: 4.25rem 0 2.75rem;
  background:
    url("/assets/img/decor/wash.svg?v=45") right -5rem top -3rem / 26rem no-repeat,
    linear-gradient(180deg, #26344c 0%, #1c2333 100%);
}

.band-ink {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(42, 213, 185, 0.3), transparent 34%),
    linear-gradient(165deg, #1a2234 0%, #141b2c 72%);
  color: var(--on-dark);
}

.band-ink .prose p {
  max-width: 46rem;
  color: var(--on-dark);
  font-size: 1.16rem;
  line-height: 1.65;
}

.band-ink .steps li {
  background: #243049;
  color: var(--ink);
  border-top: 3px solid var(--iris-text);
}

.lang-intro {
  margin: 0 0 1.25rem;
  padding: 0;
  background: transparent;
  color: var(--ink);
}

.lang-intro .prose p {
  max-width: 40rem;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.65;
}

.band-mist {
  background: #262e40;
}

.faq {
  background: #323b52;
  padding: 0.35rem 1.2rem 0.15rem;
}

.bridge {
  width: min(100% - 2rem, 46rem);
  margin: 0.35rem auto 0;
  color: var(--muted);
}

.project-list a {
  position: relative;
  padding-right: 2rem;
}

.project-list a::after {
  content: "→";
  position: absolute;
  right: 0.15rem;
  top: 1.35rem;
  color: var(--accent-text);
  transition: transform 0.25s ease;
}

.project-list a:hover {
  padding-left: 0.35rem;
}

.project-list a:hover::after {
  transform: translateX(4px);
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2ad5b9 0%, #d0aafa 38%, #fa9bcc 68%, #f6d56a 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.ribbon {
  overflow: hidden;
  background: #10131a;
  color: var(--on-dark);
}

.ribbon-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.ribbon-set {
  display: flex;
  gap: 2.2rem;
  padding: 0.95rem 1.1rem;
}

.ribbon span {
  font-family: var(--serif);
  font-weight: 640;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.ribbon span::before {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-right: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: 0.12em;
}

.ribbon:hover .ribbon-track {
  animation-play-state: paused;
}

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

[data-mark]::after {
  content: none;
}

.matrix > li {
  border-top: 3px solid var(--accent);
}

.matrix > li:nth-child(2) {
  --heading: var(--iris);
  --accent-text: var(--iris-text);
  border-top-color: var(--iris-text);
}

.matrix > li:nth-child(3) {
  --heading: var(--rose);
  --accent-text: var(--rose-text);
  border-top-color: var(--rose-text);
}

.matrix > li:nth-child(4) {
  --heading: var(--warm);
  --accent-text: var(--warm);
  border-top-color: var(--warm);
}

#s-mobil {
  --heading: var(--iris);
}

#s-joc {
  --heading: var(--rose);
}

#s-ai {
  --heading: var(--warm);
}

#p-build {
  --heading: var(--iris);
}

#p-pub {
  --heading: var(--rose);
}

#l-script {
  --heading: var(--iris);
}

#l-telefon {
  --heading: var(--rose);
}

#l-date {
  --heading: var(--warm);
}

.band-ink {
  --heading: var(--iris);
  --accent-text: var(--iris-text);
}

.projects {
  --heading: var(--rose);
  --accent-text: var(--rose-text);
}

.matrix > li::before {
  content: none;
}

.foot {
  padding: 1.7rem 0 1.5rem;
}

input,
select,
textarea,
button[type="submit"] {
  transition: border-color 0.2s ease, filter 0.2s ease;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent);
}

button[type="submit"]:hover {
  filter: brightness(1.08);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes turn {
  to { transform: rotate(360deg); }
}

@keyframes turn-back {
  to { transform: rotate(-360deg); }
}

@keyframes drift {
  from { transform: rotate(0deg) translateY(0); }
  to { transform: rotate(10deg) translateY(8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  transform: translateX(-1.7rem);
}

.reveal-right {
  transform: translateX(1.7rem);
}

.reveal-up {
  transform: translateY(1.5rem);
}

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

.matrix > li.reveal:nth-child(2),
.steps > li.reveal:nth-child(2),
.lang-row > li.reveal:nth-child(2),
.project-list > li.reveal:nth-child(2),
.faq > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.matrix > li.reveal:nth-child(3),
.steps > li.reveal:nth-child(3),
.lang-row > li.reveal:nth-child(3),
.project-list > li.reveal:nth-child(3),
.faq > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.matrix > li.reveal:nth-child(4),
.lang-row > li.reveal:nth-child(4),
.project-list > li.reveal:nth-child(4),
.faq > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.project-list > li.reveal:nth-child(5),
.faq > .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

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

  .loader {
    display: none;
  }

  .hero-copy,
  .hero-mark .spin,
  .hero-mark .spin-back,
  .reveal,
  .tiles li,
  .hero::before,
  .matrix > li,
  .story article,
  .steps > li,
  .lang-row > li,
  .project-list > li,
  body.nav-open .nav-links a,
  .nav-links {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
