@font-face {
  font-family: "Oxanium";
  src: url("assets/fonts/oxanium-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

@font-face {
  font-family: "Exo 2";
  src: url("assets/fonts/exo-2-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

.compact-site {
  --compact-bg: #07090b;
  --compact-surface: #0e1316;
  --compact-text: #f1f5f7;
  --compact-muted: #aab7bd;
  --compact-line: rgba(210, 225, 232, 0.17);
  --compact-cyan: #12d9ed;
  background: var(--compact-bg);
  color: var(--compact-text);
  font-family: "Exo 2", "Segoe UI", sans-serif;
}

.compact-site.has-dialog {
  overflow: hidden;
}

.compact-site h1,
.compact-site h2,
.compact-site h3,
.compact-site .btn,
.compact-site .eyebrow,
.compact-site .primary-nav a,
.compact-site .header-cta,
.compact-site .menu-toggle,
.compact-site .compact-steps strong,
.compact-site .action-tile > span,
.compact-site .stage-kicker,
.compact-site .stage-data,
.compact-site .hero-console {
  font-family: "Oxanium", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.compact-site,
.compact-site * {
  min-width: 0;
}

.compact-site img {
  max-width: 100%;
}

.compact-site a,
.compact-site button,
.compact-site p,
.compact-site h1,
.compact-site h2,
.compact-site h3,
.compact-site span,
.compact-site small {
  overflow-wrap: anywhere;
}

.compact-site a:focus-visible,
.compact-site button:focus-visible,
.compact-site input:focus-visible,
.compact-site textarea:focus-visible {
  outline-color: var(--compact-cyan);
}

.compact-site .container {
  width: min(1160px, calc(100% - 40px));
}

.compact-header {
  background: rgba(7, 9, 11, 0.94);
  border-bottom: 1px solid var(--compact-line);
  backdrop-filter: blur(18px);
}

.compact-header .header-inner {
  min-height: 82px;
}

.compact-brand {
  flex: 0 0 auto;
  width: 108px;
  height: 72px;
}

.compact-brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(18, 217, 237, 0.17));
}

.compact-header .primary-nav a {
  color: #c4d0d5;
  border-radius: 4px;
}

.compact-header .primary-nav a:hover,
.compact-header .primary-nav a[aria-current="page"] {
  background: rgba(18, 217, 237, 0.1);
  color: #ffffff;
}

.compact-header .header-cta {
  border: 1px solid rgba(18, 217, 237, 0.54);
  border-radius: 5px;
  background: transparent;
  color: #eafcff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.compact-header .menu-toggle {
  border: 1px solid var(--compact-line);
  border-radius: 5px;
  background: #11171a;
  color: #ffffff;
}

.compact-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 680px;
  padding: 76px 0 70px;
  background: #07090b;
  border-bottom: 1px solid var(--compact-line);
}

.compact-hero::before,
.compact-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.compact-hero::before {
  inset: 0;
  opacity: 0.34;
  background-size: 54px 54px;
  background-image:
    linear-gradient(rgba(18, 217, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 217, 237, 0.06) 1px, transparent 1px);
  mask-image: linear-gradient(to right, transparent, #000 55%, #000);
}

.compact-hero::after {
  top: 0;
  bottom: 0;
  left: calc(50% + 115px);
  width: 1px;
  background: rgba(18, 217, 237, 0.16);
}

.compact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.86fr);
  gap: 58px;
  align-items: center;
}

.compact-hero-copy .eyebrow,
.compact-heading .eyebrow,
.quote-band .eyebrow,
.contact-dialog .eyebrow {
  color: var(--compact-cyan);
  letter-spacing: 0.13em;
}

.compact-hero-copy h1 {
  margin: 0;
  max-width: 760px;
  color: #f5f8fa;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.compact-hero-copy .lead {
  max-width: 650px;
  margin-top: 22px;
  color: var(--compact-muted);
  font-size: clamp(1.02rem, 1.7vw, 1.24rem);
  line-height: 1.55;
}

.compact-site .btn {
  min-height: 50px;
  border-radius: 5px;
  padding: 13px 20px;
}

.compact-site .btn-primary {
  border-color: #45efff;
  background: linear-gradient(135deg, #08c9df, #007f98);
  color: #021013;
  box-shadow: 0 12px 28px rgba(18, 217, 237, 0.18);
}

.compact-site .btn-secondary {
  border-color: var(--compact-line);
  background: #11171a;
  color: #e8f3f6;
}

.compact-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.compact-proof li {
  padding: 7px 10px;
  border: 1px solid var(--compact-line);
  background: rgba(255, 255, 255, 0.025);
  color: #b8c6cb;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-stage {
  display: grid;
  place-items: center;
}

.stage-frame {
  position: relative;
  width: min(100%, 510px);
  min-height: 470px;
  display: grid;
  place-items: center;
  padding: 48px 34px 64px;
  border: 1px solid rgba(218, 231, 237, 0.26);
  background: #0b0f11;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(18, 217, 237, 0.04);
}

.stage-frame::before,
.stage-frame::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border-color: var(--compact-cyan);
  opacity: 0.65;
}

.stage-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.stage-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.stage-frame > img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(18, 217, 237, 0.24));
}

.stage-kicker {
  position: absolute;
  top: 18px;
  left: 20px;
  color: #8ca0a8;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.stage-signal {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 9px;
  align-items: center;
  color: #8fa1a8;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stage-signal i {
  height: 1px;
  background: var(--compact-cyan);
  box-shadow: 0 0 8px rgba(18, 217, 237, 0.6);
}

.compact-section {
  padding: 66px 0;
  border-bottom: 1px solid var(--compact-line);
}

.action-section,
.project-strip {
  background: #0d1113;
}

.compact-heading {
  max-width: 740px;
  margin-bottom: 30px;
}

.compact-heading h2,
.quote-band h2,
.contact-dialog h2 {
  margin: 0;
  color: #eff5f7;
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--compact-line);
  border: 1px solid var(--compact-line);
}

.action-tile {
  position: relative;
  display: block;
  min-height: 176px;
  padding: 23px;
  background: #101619;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

a.action-tile:hover {
  z-index: 1;
  background: #162126;
  transform: translateY(-2px);
}

.action-tile > span {
  color: var(--compact-cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.action-tile h3 {
  margin: 18px 0 8px;
  color: #edf4f6;
  font-size: 1.15rem;
  line-height: 1.18;
}

.action-tile p {
  margin: 0;
  color: var(--compact-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

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

.static-tile {
  min-height: 184px;
}

.process-band {
  background: #07090b;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 60px;
  align-items: start;
}

.process-layout .compact-heading {
  margin: 0;
}

.compact-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-steps li {
  display: grid;
  gap: 7px;
  padding-top: 15px;
  border-top: 1px solid rgba(18, 217, 237, 0.42);
}

.compact-steps span {
  color: var(--compact-cyan);
  font-size: 0.7rem;
  font-weight: 900;
}

.compact-steps strong {
  color: #f3f7f8;
  font-size: 1.05rem;
}

.compact-steps small {
  color: var(--compact-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.inline-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.text-link {
  color: var(--compact-cyan);
  font-weight: 800;
  text-underline-offset: 4px;
}

.project-teasers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-teaser {
  min-height: 205px;
  padding: 28px;
  border: 1px solid var(--compact-line);
  background: #11171a;
  color: inherit;
  text-decoration: none;
}

.project-teaser small {
  color: var(--compact-cyan);
  font-weight: 900;
  letter-spacing: 0.15em;
}

.project-teaser h3 {
  margin: 30px 0 8px;
  color: #f4f7f8;
  font-size: 1.4rem;
}

.project-teaser p {
  margin: 0;
  color: var(--compact-muted);
}

.project-teaser:hover {
  border-color: rgba(18, 217, 237, 0.62);
}

.quote-band {
  padding: 62px 0;
  background: #11181b;
  border-top: 1px solid rgba(18, 217, 237, 0.3);
  border-bottom: 1px solid var(--compact-line);
}

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 64px;
  align-items: center;
}

.quote-band p:not(.eyebrow) {
  max-width: 690px;
  margin: 14px 0 0;
  color: var(--compact-muted);
}

.quote-actions {
  display: grid;
  gap: 8px;
}

.quote-actions > a:not(.btn) {
  color: #c6d3d8;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
}

.quote-actions > a:not(.btn):hover {
  color: var(--compact-cyan);
}

.compact-footer {
  padding: 20px 0;
  background: #050607;
}

.compact-footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: block;
  width: 76px;
  height: 52px;
}

.compact-footer nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.compact-footer nav a,
.compact-footer p {
  margin: 0;
  color: #88979d;
  font-size: 0.78rem;
  text-decoration: none;
}

.compact-footer nav a:hover {
  color: #eaf7fa;
}

.contact-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: min(88vh, 900px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(18, 217, 237, 0.42);
  border-radius: 6px;
  background: #0d1215;
  color: var(--compact-text);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.72);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

.contact-dialog.is-fallback-open {
  position: fixed;
  inset: 5vh 14px auto;
  z-index: 100;
  display: block;
}

.dialog-shell {
  position: relative;
  padding: 38px;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border: 1px solid var(--compact-line);
  border-radius: 4px;
  background: #141b1f;
  color: #c9d6da;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.dialog-lead {
  margin: 12px 0 22px;
  color: var(--compact-muted);
}

.compact-form {
  gap: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #edf3f5;
  box-shadow: none;
}

.compact-form label,
.compact-form legend {
  color: #dce7ea;
  font-size: 0.86rem;
}

.compact-form input,
.compact-form textarea {
  border-color: rgba(210, 225, 232, 0.2);
  background: #151c20;
  color: #f5f8f9;
}

.compact-form input::placeholder,
.compact-form textarea::placeholder {
  color: #788990;
}

.compact-form fieldset {
  border-color: rgba(210, 225, 232, 0.2);
  background: #11171a;
}

.compact-form .privacy-check,
.compact-form .day-grid label {
  color: #b6c4c9;
}

.compact-form .privacy-check a {
  color: var(--compact-cyan);
}

.compact-form .form-status.is-success {
  color: #6ee7b7;
}

.compact-form .form-status.is-error {
  color: #ff9a92;
}

.marcin-page {
  --marcin-gold: #ffb300;
}

.marcin-page .compact-brand img,
.marcin-page .footer-brand img {
  filter: drop-shadow(0 0 12px rgba(255, 179, 0, 0.22));
}

.marcin-page .eyebrow,
.marcin-page .stage-kicker,
.marcin-page .action-tile > span,
.marcin-page .compact-steps span,
.marcin-page .project-teaser small {
  color: var(--marcin-gold);
}

.marcin-page .btn-primary {
  border-color: #ffd15a;
  background: linear-gradient(135deg, #ffc027, #db8300);
  color: #171005;
  box-shadow: 0 12px 28px rgba(255, 179, 0, 0.2);
}

.marcin-page .stage-frame::before,
.marcin-page .stage-frame::after {
  border-color: var(--marcin-gold);
}

.marcin-page .stage-signal i {
  background: var(--marcin-gold);
  box-shadow: 0 0 8px rgba(255, 179, 0, 0.66);
}

.marcin-page .stage-frame > img {
  filter: drop-shadow(0 0 26px rgba(255, 179, 0, 0.26));
}

.marcin-page .compact-header .header-cta {
  border-color: rgba(255, 179, 0, 0.62);
}

.marcin-page .compact-header .primary-nav a:hover {
  background: rgba(255, 179, 0, 0.11);
}

.marcin-audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.marcin-audience p {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 179, 0, 0.46);
}

.marcin-audience strong {
  color: #f4f6f7;
}

.marcin-audience span {
  color: var(--compact-muted);
  font-size: 0.88rem;
}

.marcin-actions {
  background: #0a0d0f;
}

.marcin-process .compact-steps li {
  border-top-color: rgba(255, 179, 0, 0.48);
}

.marcin-quote {
  border-top-color: rgba(255, 179, 0, 0.4);
}

.marcin-dialog {
  border-color: rgba(255, 179, 0, 0.5);
}

.marcin-page .compact-form .privacy-check a,
.marcin-page .quote-actions > a:not(.btn):hover {
  color: var(--marcin-gold);
}

@media (max-width: 1180px) {
  .compact-header .primary-nav {
    background: #0e1417;
    border-color: var(--compact-line);
  }
}

@media (max-width: 920px) {
  .compact-hero {
    min-height: 0;
    padding: 62px 0;
  }

  .compact-hero::after {
    display: none;
  }

  .compact-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .brand-stage {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .stage-frame {
    min-height: 390px;
  }

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

  .process-layout,
  .quote-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-layout .compact-heading {
    margin-bottom: 0;
  }

  .quote-actions {
    max-width: 430px;
  }
}

@media (max-width: 680px) {
  .compact-site .container {
    width: min(100% - 28px, 1160px);
  }

  .compact-header .header-inner {
    min-height: 70px;
  }

  .compact-brand {
    width: 78px;
    height: 56px;
  }

  .compact-header .primary-nav {
    top: 66px;
    left: 14px;
    right: 14px;
  }

  .compact-hero {
    padding: 42px 0 38px;
  }

  .compact-hero::before {
    opacity: 0.2;
    mask-image: none;
  }

  .compact-hero-grid {
    gap: 30px;
  }

  .compact-hero-copy h1 {
    font-size: clamp(2.55rem, 14vw, 4.15rem);
    line-height: 0.96;
  }

  .compact-hero-copy .lead {
    margin-top: 18px;
    font-size: 1rem;
  }

  .compact-site .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 24px;
  }

  .compact-site .btn {
    width: 100%;
    min-height: 50px;
  }

  .compact-proof {
    gap: 6px;
    margin-top: 18px;
  }

  .compact-proof li {
    flex: 1 1 auto;
    padding: 6px 7px;
    text-align: center;
    font-size: 0.68rem;
  }

  .stage-frame {
    min-height: 278px;
    padding: 34px 22px 48px;
  }

  .stage-frame > img {
    width: min(100%, 300px);
    max-height: 225px;
  }

  .stage-signal {
    gap: 6px;
    font-size: 0.56rem;
  }

  .compact-section {
    padding: 44px 0;
  }

  .compact-heading {
    margin-bottom: 22px;
  }

  .compact-heading h2,
  .quote-band h2 {
    font-size: clamp(1.65rem, 8.4vw, 2.35rem);
  }

  .action-grid,
  .four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-tile,
  .static-tile {
    min-height: 165px;
    padding: 16px 14px;
  }

  .action-tile h3 {
    margin-top: 14px;
    font-size: 1rem;
  }

  .action-tile p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .compact-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compact-steps li {
    grid-template-columns: 32px minmax(0, 0.45fr) minmax(0, 1fr);
    gap: 8px;
    align-items: baseline;
    padding-top: 12px;
  }

  .inline-heading {
    display: grid;
    gap: 12px;
  }

  .project-teasers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-teaser {
    min-height: 0;
    padding: 20px;
  }

  .project-teaser h3 {
    margin-top: 18px;
  }

  .quote-band {
    padding: 44px 0;
  }

  .compact-footer-inner {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  .compact-footer nav {
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .compact-footer p {
    grid-column: 1 / -1;
    text-align: center;
  }

  .marcin-audience {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .dialog-shell {
    padding: 52px 18px 24px;
  }

  .contact-dialog {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
  }

  .contact-dialog .form-pair {
    grid-template-columns: 1fr;
  }

  .marcin-dialog .day-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 350px) {
  .action-tile,
  .static-tile {
    min-height: 178px;
    padding-inline: 12px;
  }

  .action-tile h3 {
    font-size: 0.94rem;
  }

  .action-tile p {
    font-size: 0.74rem;
  }

  .stage-signal span:nth-of-type(2),
  .stage-signal i:nth-of-type(2) {
    display: none;
  }

  .stage-signal {
    grid-template-columns: auto 1fr auto;
  }
}

/* Visual depth: metallic interfaces, circuit details and logo-led signals. */
.compact-site main {
  position: relative;
  isolation: isolate;
}

.compact-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(18, 217, 237, 0.1) 25%, rgba(210, 231, 237, 0.5) 50%, rgba(18, 217, 237, 0.1) 75%, transparent 96%);
}

.compact-header .primary-nav {
  gap: 8px;
}

.compact-header .primary-nav a,
.compact-header .header-cta,
.compact-header .menu-toggle {
  font-size: 0.82rem;
  font-weight: 600;
}

.compact-hero {
  background-color: #06090b;
  background-image:
    linear-gradient(115deg, rgba(18, 217, 237, 0.035) 0 1px, transparent 1px 90px),
    linear-gradient(25deg, rgba(218, 231, 237, 0.025) 0 1px, transparent 1px 140px);
  background-size: 118px 118px, 170px 170px;
}

.compact-hero-copy {
  position: relative;
  padding-left: 22px;
}

.compact-hero-copy::before {
  content: "";
  position: absolute;
  top: 2px;
  bottom: 5px;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--compact-cyan), rgba(18, 217, 237, 0.08) 72%, transparent);
  box-shadow: 0 0 16px rgba(18, 217, 237, 0.32);
}

.compact-hero-copy h1 {
  font-weight: 650;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 36px rgba(0, 0, 0, 0.55);
}

.compact-hero-copy .lead {
  font-weight: 450;
}

.compact-site .eyebrow {
  font-weight: 650;
  letter-spacing: 0;
}

.hero-console {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  gap: 9px;
  align-items: center;
  max-width: 560px;
  margin-top: 19px;
  color: #71868e;
  font-size: 0.62rem;
  font-weight: 600;
}

.hero-console i {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 217, 237, 0.72));
}

.hero-console strong {
  color: #b7c9ce;
  font-size: inherit;
}

.stage-frame {
  overflow: hidden;
  border-color: rgba(220, 233, 238, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 32%),
    #080d0f;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.52),
    0 0 46px rgba(18, 217, 237, 0.06),
    inset 0 0 42px rgba(18, 217, 237, 0.025);
}

.stage-frame > img {
  z-index: 3;
}

.tech-rings {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: min(76%, 340px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(18, 217, 237, 0.18);
  border-radius: 50%;
}

.tech-rings::before,
.tech-rings::after,
.tech-rings i {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.tech-rings::before {
  inset: 11%;
  border: 1px dashed rgba(218, 231, 237, 0.22);
}

.tech-rings::after {
  inset: 25%;
  border: 1px solid rgba(18, 217, 237, 0.2);
  box-shadow: 0 0 34px rgba(18, 217, 237, 0.12);
}

.tech-rings i {
  width: 8px;
  height: 8px;
  border: 1px solid var(--compact-cyan);
  background: #071013;
  box-shadow: 0 0 12px rgba(18, 217, 237, 0.72);
}

.tech-rings i:nth-child(1) {
  top: 13%;
  left: 6%;
}

.tech-rings i:nth-child(2) {
  top: 18%;
  right: 3%;
}

.tech-rings i:nth-child(3) {
  right: 12%;
  bottom: 8%;
}

.stage-data {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 1px;
  min-width: 54px;
  padding: 8px 9px;
  border: 1px solid rgba(18, 217, 237, 0.24);
  background: rgba(7, 12, 14, 0.88);
  color: var(--compact-cyan);
  text-align: center;
}

.stage-data-left {
  top: 74px;
  left: 18px;
}

.stage-data-right {
  right: 18px;
  bottom: 66px;
}

.stage-data b {
  font-size: 0.78rem;
}

.stage-data span {
  color: #83969d;
  font-size: 0.52rem;
}

.stage-kicker,
.stage-signal {
  letter-spacing: 0;
}

.compact-section {
  position: relative;
  overflow: hidden;
}

.action-section::before,
.project-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, transparent 0 79px, rgba(18, 217, 237, 0.06) 80px, transparent 81px),
    linear-gradient(0deg, transparent 0 79px, rgba(18, 217, 237, 0.035) 80px, transparent 81px);
  background-size: 160px 160px;
}

.compact-section > .container,
.quote-band > .container {
  position: relative;
  z-index: 2;
}

.compact-heading {
  position: relative;
  padding-left: 20px;
}

.compact-heading::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 8px;
  border-top: 2px solid var(--compact-cyan);
  border-bottom: 2px solid var(--compact-cyan);
  box-shadow: inset 2px 0 0 rgba(18, 217, 237, 0.2);
}

.compact-heading h2,
.quote-band h2,
.contact-dialog h2 {
  font-weight: 620;
}

.action-grid {
  gap: 10px;
  border: 0;
  background: transparent;
}

.action-tile {
  overflow: hidden;
  border: 1px solid rgba(209, 226, 232, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 44%),
    #0e1518;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  box-shadow: inset 0 0 26px rgba(18, 217, 237, 0.025);
}

.action-tile::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(18, 217, 237, 0.78) 0 5px, transparent 5px 9px);
  opacity: 0.55;
}

.action-tile::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 1px;
  background: var(--compact-cyan);
  box-shadow: 0 0 10px rgba(18, 217, 237, 0.46);
}

a.action-tile:hover {
  border-color: rgba(18, 217, 237, 0.56);
  background:
    linear-gradient(135deg, rgba(18, 217, 237, 0.08), transparent 48%),
    #121c20;
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.24),
    inset 0 0 30px rgba(18, 217, 237, 0.04);
}

.action-tile h3 {
  font-weight: 620;
}

.process-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  opacity: 0.28;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, transparent 0 15px, rgba(18, 217, 237, 0.05) 15px 16px);
}

.compact-steps {
  position: relative;
}

.compact-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 217, 237, 0.5), transparent);
}

.compact-steps li {
  position: relative;
  z-index: 1;
  padding: 16px 12px 12px;
  border: 1px solid rgba(18, 217, 237, 0.16);
  background: rgba(7, 12, 14, 0.9);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.compact-steps li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 26px;
  margin-top: 0;
  border: 1px solid rgba(18, 217, 237, 0.52);
  background: #071013;
  box-shadow: 0 0 16px rgba(18, 217, 237, 0.13);
}

.project-teaser {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.045), transparent 45%),
    #0f1619;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.project-teaser::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 74px;
  height: 2px;
  background: var(--compact-cyan);
  box-shadow: 0 0 12px rgba(18, 217, 237, 0.54);
}

.project-teaser::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2px;
  right: 18px;
  width: 190px;
  height: 170px;
  opacity: 0.09;
  background: url("assets/syntevia-logo.png") center / contain no-repeat;
  filter: grayscale(1);
}

.project-teaser.marcin-teaser::after {
  background-image: url("assets/marcin-ai-logo.png");
}

.project-teaser > * {
  position: relative;
  z-index: 1;
}

.quote-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(18, 217, 237, 0.07), transparent 34%),
    #10181b;
}

.quote-band::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(18, 217, 237, 0.12);
  transform: rotate(45deg);
}

.quote-telemetry {
  position: absolute;
  right: 4%;
  bottom: 12px;
  display: flex;
  gap: 5px;
  align-items: end;
  height: 28px;
  opacity: 0.44;
}

.quote-telemetry i {
  width: 5px;
  background: var(--compact-cyan);
  box-shadow: 0 0 8px rgba(18, 217, 237, 0.5);
}

.quote-telemetry i:nth-child(1) { height: 8px; }
.quote-telemetry i:nth-child(2) { height: 19px; }
.quote-telemetry i:nth-child(3) { height: 13px; }
.quote-telemetry i:nth-child(4) { height: 25px; }
.quote-telemetry i:nth-child(5) { height: 16px; }

.compact-site .btn {
  position: relative;
  overflow: hidden;
  font-weight: 650;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.compact-site .btn::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -34%;
  width: 22%;
  transform: skewX(-20deg);
  background: rgba(255, 255, 255, 0.28);
  transition: left 220ms ease;
}

.compact-site .btn:hover::after {
  left: 112%;
}

.marcin-page .compact-hero-copy::before {
  background: linear-gradient(to bottom, var(--marcin-gold), rgba(255, 179, 0, 0.08) 72%, transparent);
  box-shadow: 0 0 16px rgba(255, 179, 0, 0.34);
}

.marcin-page .hero-console i {
  background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.76));
}

.marcin-page .tech-rings {
  border-color: rgba(255, 179, 0, 0.2);
}

.marcin-page .tech-rings::after {
  border-color: rgba(255, 179, 0, 0.23);
  box-shadow: 0 0 34px rgba(255, 179, 0, 0.12);
}

.marcin-page .tech-rings i {
  border-color: var(--marcin-gold);
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.72);
}

.marcin-page .stage-data {
  border-color: rgba(255, 179, 0, 0.3);
  color: var(--marcin-gold);
}

.marcin-page .compact-heading::before {
  border-color: var(--marcin-gold);
  box-shadow: inset 2px 0 0 rgba(255, 179, 0, 0.2);
}

.marcin-page .action-section::before,
.marcin-page .project-strip::before {
  background-image:
    linear-gradient(90deg, transparent 0 79px, rgba(255, 179, 0, 0.055) 80px, transparent 81px),
    linear-gradient(0deg, transparent 0 79px, rgba(255, 179, 0, 0.035) 80px, transparent 81px);
}

.marcin-page .action-tile::before {
  background: repeating-linear-gradient(90deg, rgba(255, 179, 0, 0.78) 0 5px, transparent 5px 9px);
}

.marcin-page .action-tile::after,
.marcin-page .quote-telemetry i {
  background: var(--marcin-gold);
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

.marcin-page .process-band::before {
  background: repeating-linear-gradient(135deg, transparent 0 15px, rgba(255, 179, 0, 0.05) 15px 16px);
}

.marcin-page .compact-steps::before {
  background: linear-gradient(90deg, transparent, rgba(255, 179, 0, 0.54), transparent);
}

.marcin-page .compact-steps li,
.marcin-page .compact-steps li > span {
  border-color: rgba(255, 179, 0, 0.32);
}

.marcin-page .quote-band {
  background:
    linear-gradient(118deg, rgba(255, 179, 0, 0.075), transparent 34%),
    #10181b;
}

.marcin-page .quote-band::before {
  border-color: rgba(255, 179, 0, 0.14);
}

@media (max-width: 680px) {
  .compact-hero-copy {
    padding-left: 14px;
  }

  .compact-hero-copy::before {
    width: 2px;
  }

  .compact-hero-copy h1 {
    font-size: clamp(2.2rem, 11.8vw, 3.55rem);
  }

  .hero-console {
    gap: 6px;
    font-size: 0.52rem;
  }

  .stage-data {
    padding: 6px;
    min-width: 45px;
  }

  .stage-data-left {
    top: 54px;
    left: 10px;
  }

  .stage-data-right {
    right: 10px;
    bottom: 52px;
  }

  .compact-heading {
    padding-left: 15px;
  }

  .action-grid,
  .four-grid {
    gap: 7px;
  }

  .action-tile::before {
    width: 25px;
  }

  .compact-steps::before {
    display: none;
  }

  .compact-steps li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 4px 8px;
    align-items: start;
    padding: 12px 10px;
  }

  .compact-steps li > span {
    grid-row: 1 / span 2;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .compact-steps li > strong,
  .compact-steps li > small {
    grid-column: 2;
  }

  .project-teaser::after {
    width: 120px;
    height: 110px;
  }

  .quote-telemetry {
    display: none;
  }
}

/* Polished frames: closed shapes and compact cards without technical numbering. */
.hero-console,
.stage-data,
.quote-telemetry {
  display: none;
}

.stage-frame {
  clip-path: none;
  border-radius: 3px;
}

.stage-frame::before {
  inset: 8px;
  width: auto;
  height: auto;
  border: 1px solid rgba(18, 217, 237, 0.13);
  opacity: 1;
}

.stage-frame::after {
  display: none;
}

.compact-heading {
  padding-left: 0;
  padding-top: 15px;
}

.compact-heading::before {
  top: 0;
  bottom: auto;
  left: 0;
  width: 54px;
  height: 2px;
  border: 0;
  background: var(--compact-cyan);
  box-shadow: 0 0 12px rgba(18, 217, 237, 0.35);
}

.action-tile,
.static-tile {
  min-height: 142px;
  border-radius: 3px;
  clip-path: none;
}

.action-tile::before,
.action-tile::after {
  display: none;
}

.action-tile h3 {
  margin: 0 0 8px;
}

.compact-steps::before {
  display: none;
}

.compact-steps li {
  gap: 5px;
  padding: 15px;
  border: 1px solid rgba(18, 217, 237, 0.19);
  border-radius: 3px;
  clip-path: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.project-teaser {
  border-radius: 3px;
  clip-path: none;
}

.project-teaser::before {
  display: none;
}

.quote-band::before {
  display: none;
}

.compact-site .btn {
  border-radius: 3px;
  clip-path: none;
}

.marcin-page .stage-frame::before {
  border-color: rgba(255, 179, 0, 0.15);
}

.marcin-page .compact-heading::before {
  background: var(--marcin-gold);
  box-shadow: 0 0 12px rgba(255, 179, 0, 0.38);
}

.marcin-page .compact-steps li {
  border-color: rgba(255, 179, 0, 0.22);
}

@media (max-width: 680px) {
  .compact-heading {
    padding-left: 0;
  }

  .action-tile,
  .static-tile {
    min-height: 138px;
  }

  .compact-steps li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px;
  }

  .compact-steps li > strong,
  .compact-steps li > small {
    grid-column: 1;
  }
}

/* Futuristic detail without content numbering. */
.stage-frame {
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.stage-frame::before {
  z-index: 5;
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  pointer-events: none;
}

.stage-frame::after {
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  z-index: 2;
  border: 0;
  opacity: 0.52;
  background:
    linear-gradient(90deg, var(--compact-cyan), var(--compact-cyan)) 16px 16px / 64px 1px no-repeat,
    linear-gradient(var(--compact-cyan), var(--compact-cyan)) 16px 16px / 1px 52px no-repeat,
    linear-gradient(90deg, var(--compact-cyan), var(--compact-cyan)) calc(100% - 16px) calc(100% - 16px) / 64px 1px no-repeat,
    linear-gradient(var(--compact-cyan), var(--compact-cyan)) calc(100% - 16px) calc(100% - 16px) / 1px 52px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(214, 234, 239, 0.04) 5px 6px);
  background-position:
    16px 16px,
    16px 16px,
    calc(100% - 80px) calc(100% - 16px),
    calc(100% - 16px) calc(100% - 68px),
    0 0;
  pointer-events: none;
}

.circuit-field,
.matrix-field {
  position: absolute;
  z-index: 1;
  inset: 48px 22px 46px;
  overflow: hidden;
}

.circuit-field {
  opacity: 0.76;
  background-image:
    linear-gradient(rgba(18, 217, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 217, 237, 0.055) 1px, transparent 1px),
    repeating-linear-gradient(135deg, transparent 0 43px, rgba(18, 217, 237, 0.035) 43px 44px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.circuit-field::before {
  content: "";
  position: absolute;
  inset: 14% 17%;
  border: 1px solid rgba(18, 217, 237, 0.18);
  transform: rotate(45deg);
  box-shadow:
    0 0 28px rgba(18, 217, 237, 0.07),
    inset 0 0 28px rgba(18, 217, 237, 0.04);
}

.circuit-field::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  aspect-ratio: 1.35;
  border: 1px solid rgba(18, 217, 237, 0.22);
  transform: translate(-50%, -50%);
  clip-path: polygon(12% 0, 88% 0, 100% 22%, 100% 78%, 88% 100%, 12% 100%, 0 78%, 0 22%);
  box-shadow:
    0 0 26px rgba(18, 217, 237, 0.12),
    inset 0 0 24px rgba(18, 217, 237, 0.07);
}

.circuit-trace {
  position: absolute;
  border-color: rgba(18, 217, 237, 0.52);
  filter: drop-shadow(0 0 5px rgba(18, 217, 237, 0.34));
}

.trace-a {
  top: 17%;
  left: 3%;
  width: 34%;
  height: 24%;
  border-top: 1px solid;
  border-right: 1px solid;
}

.trace-b {
  top: 8%;
  right: 6%;
  width: 25%;
  height: 32%;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.trace-c {
  right: 2%;
  bottom: 13%;
  width: 34%;
  height: 25%;
  border-top: 1px solid;
  border-left: 1px solid;
}

.trace-d {
  bottom: 8%;
  left: 7%;
  width: 28%;
  height: 31%;
  border-top: 1px solid;
  border-right: 1px solid;
}

.circuit-node {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--compact-cyan);
  background: #061014;
  box-shadow: 0 0 11px rgba(18, 217, 237, 0.7);
}

.node-a { top: 16%; left: 35%; }
.node-b { top: 38%; right: 29%; }
.node-c { right: 34%; bottom: 12%; }
.node-d { bottom: 37%; left: 33%; }

.matrix-field {
  display: flex;
  justify-content: space-around;
  gap: 8px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 84%, transparent);
}

.matrix-field::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(18, 217, 237, 0.06), transparent),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 179, 0, 0.035) 24px 25px);
}

.matrix-field span {
  position: relative;
  display: block;
  writing-mode: vertical-rl;
  color: #14def0;
  font-family: "Oxanium", monospace;
  font-size: 0.69rem;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 7px rgba(18, 217, 237, 0.78);
  animation: matrix-flow 6s linear infinite;
}

.marcin-page .stage-frame::after {
  background:
    linear-gradient(90deg, var(--marcin-gold), var(--marcin-gold)) 16px 16px / 64px 1px no-repeat,
    linear-gradient(var(--marcin-gold), var(--marcin-gold)) 16px 16px / 1px 52px no-repeat,
    linear-gradient(90deg, var(--marcin-gold), var(--marcin-gold)) calc(100% - 16px) calc(100% - 16px) / 64px 1px no-repeat,
    linear-gradient(var(--marcin-gold), var(--marcin-gold)) calc(100% - 16px) calc(100% - 16px) / 1px 52px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 179, 0, 0.035) 5px 6px);
  background-position:
    16px 16px,
    16px 16px,
    calc(100% - 80px) calc(100% - 16px),
    calc(100% - 16px) calc(100% - 68px),
    0 0;
}

.matrix-field span:nth-child(3n) {
  color: var(--marcin-gold);
  text-shadow: 0 0 7px rgba(255, 179, 0, 0.68);
}

.matrix-field span:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.matrix-field span:nth-child(3n) { animation-duration: 5.2s; animation-delay: -3.5s; }
.matrix-field span:nth-child(4n) { animation-duration: 8.4s; animation-delay: -5s; }

@keyframes matrix-flow {
  0% { transform: translateY(-42%); opacity: 0.22; }
  28% { opacity: 0.95; }
  75% { opacity: 0.72; }
  100% { transform: translateY(62%); opacity: 0.12; }
}

.stage-badge {
  position: absolute;
  z-index: 4;
  min-width: 58px;
  padding: 7px 9px;
  border: 1px solid rgba(18, 217, 237, 0.28);
  background: rgba(6, 13, 16, 0.9);
  color: var(--compact-cyan);
  font-family: "Oxanium", sans-serif;
  font-size: 0.58rem;
  font-weight: 650;
  text-align: center;
  box-shadow: 0 0 18px rgba(18, 217, 237, 0.08);
}

.badge-left {
  top: 78px;
  left: 15px;
}

.badge-right {
  right: 15px;
  bottom: 65px;
}

.marcin-page .stage-badge {
  border-color: rgba(255, 179, 0, 0.34);
  color: var(--marcin-gold);
  box-shadow: 0 0 18px rgba(255, 179, 0, 0.09);
}

.action-tile,
.static-tile {
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 15px 100%, 0 calc(100% - 15px));
}

.action-tile::before {
  display: block;
  width: 31px;
  height: 5px;
  background: repeating-linear-gradient(90deg, rgba(18, 217, 237, 0.78) 0 5px, transparent 5px 9px);
}

.action-tile::after {
  display: block;
  width: 42px;
  background: var(--compact-cyan);
  box-shadow: 0 0 10px rgba(18, 217, 237, 0.5);
}

.compact-steps li {
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.compact-steps li strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border: 1px solid var(--compact-cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(18, 217, 237, 0.35);
}

.project-teaser {
  clip-path: polygon(0 0, calc(100% - 19px) 0, 100% 19px, 100% 100%, 0 100%);
}

.project-teaser::before {
  display: block;
  width: 76px;
}

.quote-band::before {
  display: block;
}

.compact-site .btn {
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.marcin-page .action-tile::before {
  background: repeating-linear-gradient(90deg, rgba(255, 179, 0, 0.82) 0 5px, transparent 5px 9px);
}

.marcin-page .action-tile::after,
.marcin-page .project-teaser::before {
  background: var(--marcin-gold);
  box-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

.marcin-page .compact-steps li strong::before {
  border-color: var(--marcin-gold);
  box-shadow: 0 0 8px rgba(255, 179, 0, 0.36);
}

@media (max-width: 680px) {
  .circuit-field,
  .matrix-field {
    inset: 40px 12px 42px;
  }

  .matrix-field {
    gap: 5px;
    opacity: 0.44;
  }

  .matrix-field span {
    font-size: 0.52rem;
  }

  .matrix-field span:nth-child(2),
  .matrix-field span:nth-child(5),
  .matrix-field span:nth-child(8),
  .matrix-field span:nth-child(11) {
    display: none;
  }

  .stage-badge {
    min-width: 48px;
    padding: 5px 6px;
    font-size: 0.5rem;
  }

  .badge-left {
    top: 55px;
    left: 9px;
  }

  .badge-right {
    right: 9px;
    bottom: 52px;
  }

  .action-tile::before {
    width: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .matrix-field span {
    animation: none;
  }
}

/* Contact type selector and mobile quick-contact dock. */
[hidden] {
  display: none !important;
}

.contact-type-switch {
  display: grid;
  gap: 8px;
}

.contact-type-switch legend {
  margin-bottom: 8px;
}

.segmented-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(18, 217, 237, 0.2);
  background: #070d0f;
}

.segmented-control label {
  position: relative;
  cursor: pointer;
}

.segmented-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.segmented-control span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px 12px;
  color: #a9bbc0;
  font-family: "Oxanium", sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.segmented-control input:checked + span {
  background: var(--compact-cyan);
  color: #041013;
  box-shadow: 0 0 18px rgba(18, 217, 237, 0.18);
}

.segmented-control input:focus-visible + span {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.company-fields {
  padding: 12px;
  border-left: 2px solid rgba(18, 217, 237, 0.5);
  background: rgba(18, 217, 237, 0.035);
}

.mobile-contact-dock {
  display: none;
}

@media (max-width: 680px) {
  .mobile-contact-dock {
    position: fixed;
    z-index: 900;
    top: calc(76px + env(safe-area-inset-top, 0px));
    right: 12px;
    display: grid;
    justify-items: end;
    gap: 8px;
  }

  .mobile-contact-toggle,
  .mobile-contact-action {
    display: grid;
    place-items: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(18, 217, 237, 0.55);
    background: rgba(7, 15, 18, 0.96);
    color: var(--compact-cyan);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42), 0 0 18px rgba(18, 217, 237, 0.12);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    cursor: pointer;
  }

  .mobile-contact-toggle {
    order: -1;
    background: var(--compact-cyan);
    color: #041013;
  }

  .mobile-contact-toggle svg,
  .mobile-contact-action svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .contact-icon-close {
    display: none;
  }

  .mobile-contact-dock.is-open .contact-icon-open {
    display: none;
  }

  .mobile-contact-dock.is-open .contact-icon-close {
    display: block;
  }

  .mobile-contact-actions {
    display: grid;
    gap: 7px;
    opacity: 0;
    transform: translateY(-10px) scale(0.94);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .mobile-contact-dock.is-open .mobile-contact-actions {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-contact-action {
    position: relative;
    text-decoration: none;
  }

  .mobile-contact-action span {
    position: absolute;
    top: 50%;
    right: 58px;
    padding: 6px 9px;
    border: 1px solid rgba(18, 217, 237, 0.2);
    background: rgba(7, 15, 18, 0.96);
    color: #dce8eb;
    font-size: 0.68rem;
    font-weight: 700;
    white-space: nowrap;
    transform: translateY(-50%);
  }

  .contact-dialog .form-pair,
  .segmented-control {
    grid-template-columns: 1fr;
  }

  .segmented-control span {
    min-height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-contact-actions {
    transition: none;
  }
}

/* Keep approved full-colour marks intact in compact footers. */
.compact-footer .footer-brand {
  filter: none;
}

.compact-footer .footer-brand img {
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(18, 217, 237, 0.16));
}

.marcin-page .compact-footer .footer-brand img {
  filter: drop-shadow(0 0 12px rgba(255, 179, 0, 0.22));
}

/* Short brand transition shown while the initial page assets settle. */
body.is-site-loading {
  overflow: hidden;
}

.site-loader {
  --compact-cyan: #12d9ed;
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 217, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 217, 237, 0.035) 1px, transparent 1px),
    #05090b;
  background-size: 42px 42px;
  opacity: 1;
  visibility: visible;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.site-loader::before {
  position: absolute;
  width: min(82vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(18, 217, 237, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(18, 217, 237, 0.015), 0 0 90px rgba(18, 217, 237, 0.08);
  content: "";
  animation: loader-orbit 2.2s linear infinite;
}

.site-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.marcin-page .site-loader {
  --compact-cyan: #ffb300;
}

.site-loader__frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(88vw, 390px);
  justify-items: center;
  gap: 12px;
  padding: 30px 36px 26px;
  border: 1px solid rgba(18, 217, 237, 0.36);
  background: rgba(5, 11, 13, 0.88);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.56), inset 0 0 36px rgba(18, 217, 237, 0.035);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.site-loader__frame::before,
.site-loader__frame::after {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--compact-cyan);
  content: "";
}

.site-loader__frame::before {
  top: 9px;
  left: 9px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.site-loader__frame::after {
  right: 9px;
  bottom: 9px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.site-loader__frame img {
  width: min(230px, 70vw);
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(18, 217, 237, 0.22));
  animation: loader-logo 1.1s ease both;
}

.site-loader__label {
  color: #9eb1b7;
  font-family: "Oxanium", sans-serif;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.site-loader__progress {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(18, 217, 237, 0.12);
}

.site-loader__progress::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--compact-cyan) 35%, #f5ffff 50%, var(--compact-cyan) 65%, transparent);
  content: "";
  transform: translateX(-100%);
  animation: loader-progress 1.45s ease-in-out infinite;
}

@keyframes loader-logo {
  from { opacity: 0; transform: scale(0.94); filter: blur(5px) drop-shadow(0 0 0 transparent); }
  to { opacity: 1; transform: scale(1); filter: blur(0) drop-shadow(0 0 22px rgba(18, 217, 237, 0.22)); }
}

@keyframes loader-progress {
  0% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

@keyframes loader-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Projects catalogue. */
.portfolio-page {
  background: #070b0d;
}

.projects-hero {
  position: relative;
  min-height: min(740px, calc(100svh - 86px));
  padding: 92px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 217, 237, 0.26);
  background:
    linear-gradient(112deg, rgba(18, 217, 237, 0.07), transparent 42%),
    radial-gradient(circle at 80% 45%, rgba(18, 217, 237, 0.08), transparent 28%),
    #080d10;
}

.projects-hero::before {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 20px, rgba(255, 255, 255, 0.012) 20px 21px);
  content: "";
  pointer-events: none;
}

.projects-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, 0.97fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.projects-hero-copy h1 {
  max-width: 850px;
  margin: 16px 0 20px;
  font-size: clamp(2.5rem, 5.2vw, 5rem);
  line-height: 0.98;
}

.projects-hero-copy .lead {
  max-width: 680px;
  color: var(--compact-muted);
}

.projects-radar {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 217, 237, 0.23);
  background: rgba(5, 12, 15, 0.74);
  box-shadow: inset 0 0 75px rgba(18, 217, 237, 0.05), 0 28px 80px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 36px 100%, 0 calc(100% - 36px));
}

.radar-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 217, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 217, 237, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
}

.radar-ring,
.radar-axis {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(18, 217, 237, 0.17);
  transform: translate(-50%, -50%);
}

.radar-ring {
  border-radius: 50%;
}

.radar-ring-a { width: 72%; aspect-ratio: 1; }
.radar-ring-b { width: 42%; aspect-ratio: 1; }
.radar-axis-x { width: 86%; height: 1px; }
.radar-axis-y { width: 1px; height: 86%; }

.radar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 47%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(18, 217, 237, 0.4);
  background: rgba(4, 10, 12, 0.92);
  box-shadow: 0 0 45px rgba(18, 217, 237, 0.14);
  transform: translate(-50%, -50%) rotate(45deg);
}

.radar-core img {
  width: 138%;
  max-width: none;
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 16px rgba(18, 217, 237, 0.2));
}

.radar-node {
  position: absolute;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(18, 217, 237, 0.25);
  background: #081114;
  color: #a9c0c6;
  font-family: "Oxanium", sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
}

.radar-node::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--compact-cyan);
  box-shadow: 0 0 8px var(--compact-cyan);
  content: "";
}

.radar-node-a { top: 10%; left: 12%; }
.radar-node-b { top: 18%; right: 8%; }
.radar-node-c { right: 11%; bottom: 12%; }
.radar-node-d { bottom: 18%; left: 8%; }

.projects-catalog {
  padding: 82px 0 96px;
  background: #0b1114;
}

.projects-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.projects-catalog-head h2 {
  margin: 8px 0 0;
}

.project-filters {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.project-filters button {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgba(18, 217, 237, 0.22);
  border-radius: 0;
  background: #0b1518;
  color: #a8b8bd;
  font: 650 0.74rem "Oxanium", sans-serif;
  cursor: pointer;
}

.project-filters button:hover,
.project-filters button:focus-visible,
.project-filters button.is-active {
  border-color: var(--compact-cyan);
  background: rgba(18, 217, 237, 0.12);
  color: #f1feff;
}

.project-list {
  display: grid;
  gap: 12px;
}

.website-list {
  display: grid;
  gap: 12px;
}

.websites-catalog {
  padding-top: 76px;
  border-top: 1px solid rgba(18, 217, 237, 0.18);
  background:
    linear-gradient(118deg, rgba(18, 217, 237, 0.045), transparent 38%),
    #080d10;
}

.websites-catalog-head {
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.3fr);
}

.catalog-intro {
  max-width: 520px;
  margin: 0;
  color: var(--compact-muted);
}

.project-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 0.68fr);
  min-width: 0;
  border: 1px solid rgba(190, 218, 225, 0.12);
  background: linear-gradient(110deg, rgba(18, 217, 237, 0.035), transparent 42%), #0e161a;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.project-row::after {
  position: absolute;
  top: 0;
  right: 46px;
  width: 72px;
  height: 2px;
  background: var(--compact-cyan);
  box-shadow: 0 0 12px rgba(18, 217, 237, 0.6);
  content: "";
}

.project-row:hover {
  border-color: rgba(18, 217, 237, 0.34);
  background: linear-gradient(110deg, rgba(18, 217, 237, 0.065), transparent 46%), #10191d;
  transform: translateY(-2px);
}

.project-identity {
  display: grid;
  min-width: 0;
  align-content: center;
  justify-items: start;
  gap: 11px;
  padding: 28px;
  border-right: 1px solid rgba(190, 218, 225, 0.1);
}

.project-logo {
  display: grid;
  width: 112px;
  height: 72px;
  overflow: hidden;
  place-items: center;
}

.project-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(18, 217, 237, 0.12));
}

.project-logo-brand,
.project-logo-wide {
  width: 150px;
}

.project-logo-brand img {
  width: 142px;
}

.project-logo-saga {
  width: 92px;
  height: 92px;
}

.project-logo-saga img {
  filter: drop-shadow(0 0 16px rgba(255, 184, 62, 0.28));
}

.project-logo-thorbox {
  width: 118px;
  height: 118px;
}

.project-identity h3 {
  margin: 0;
  color: #eff7f9;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
}

.project-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9fb0b6;
  font: 700 0.66rem "Oxanium", sans-serif;
  text-transform: uppercase;
}

.project-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
}

.status-ready::before { background: #52e8aa; box-shadow: 0 0 8px rgba(82, 232, 170, 0.6); }
.status-development::before { background: var(--compact-cyan); box-shadow: 0 0 8px rgba(18, 217, 237, 0.6); }
.status-concept::before { background: #ffb83e; box-shadow: 0 0 8px rgba(255, 184, 62, 0.55); }

.project-description {
  display: grid;
  min-width: 0;
  align-content: center;
  gap: 18px;
  padding: 32px clamp(28px, 4.5vw, 64px);
}

.project-lead {
  max-width: 820px;
  margin: 0;
  color: #e3ecef;
  font-size: 1.02rem;
  font-weight: 650;
}

.project-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-values p {
  margin: 0;
  color: var(--compact-muted);
  font-size: 0.87rem;
}

.project-values strong {
  display: block;
  margin-bottom: 7px;
  color: var(--compact-cyan);
  font: 700 0.69rem "Oxanium", sans-serif;
  text-transform: uppercase;
}

.project-more {
  width: max-content;
  color: #f0fbfd;
  font: 700 0.78rem "Oxanium", sans-serif;
  text-decoration-color: var(--compact-cyan);
  text-underline-offset: 5px;
}

.portfolio-cta {
  padding: 70px 0;
  border-top: 1px solid rgba(18, 217, 237, 0.25);
  background: linear-gradient(105deg, rgba(18, 217, 237, 0.07), transparent 42%), #101719;
}

.portfolio-cta p:not(.eyebrow) {
  max-width: 720px;
  color: var(--compact-muted);
}

@media (max-width: 980px) {
  .projects-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
    gap: 36px;
  }

  .projects-catalog-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .websites-catalog-head {
    grid-template-columns: 1fr;
  }

  .project-filters {
    justify-content: flex-start;
  }

  .project-row {
    grid-template-columns: minmax(190px, 0.28fr) minmax(0, 0.72fr);
  }

  .project-values {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

@media (max-width: 760px) {
  .projects-hero {
    min-height: 0;
    padding: 62px 0 44px;
  }

  .projects-hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .projects-hero-copy h1 {
    font-size: clamp(2.05rem, 11vw, 3.35rem);
  }

  .projects-radar {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .projects-catalog {
    padding: 58px 0 68px;
  }

  .projects-catalog-head {
    gap: 22px;
  }

  .project-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .project-filters button {
    min-width: 0;
    padding-inline: 8px;
  }

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

  .project-row:hover {
    transform: none;
  }

  .project-identity {
    grid-template-columns: 126px minmax(0, 1fr);
    align-items: center;
    gap: 4px 18px;
    padding: 22px 22px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(190, 218, 225, 0.1);
  }

  .project-logo,
  .project-logo-brand,
  .project-logo-wide {
    grid-row: 1 / span 2;
    width: 126px;
    height: 74px;
  }

  .project-logo-saga {
    width: 74px;
    height: 74px;
    margin-left: 24px;
  }

  .project-logo-brand img {
    width: 126px;
  }

  .project-identity h3 {
    align-self: start;
    overflow-wrap: anywhere;
  }

  .project-description {
    gap: 16px;
    padding: 22px;
  }

  .portfolio-cta {
    padding: 54px 0;
  }
}

@media (max-width: 430px) {
  .radar-node {
    padding: 5px 7px;
    font-size: 0.55rem;
  }

  .project-identity {
    grid-template-columns: 94px minmax(0, 1fr);
    padding: 18px;
  }

  .project-logo,
  .project-logo-brand,
  .project-logo-wide {
    width: 94px;
    height: 66px;
  }

  .project-logo-saga {
    width: 62px;
    height: 62px;
    margin-left: 16px;
  }

  .project-logo-brand img {
    width: 94px;
  }

  .project-status {
    font-size: 0.57rem;
  }

  .project-description {
    padding: 20px 18px 24px;
  }

  .project-lead {
    font-size: 0.94rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader::before,
  .site-loader__frame img,
  .site-loader__progress::after {
    animation: none;
  }

  .site-loader {
    transition-duration: 120ms;
  }

  .project-row {
    transition: none;
  }
}

/* Brand module switcher and stronger action signals. */
.compact-header .brand-modules {
  gap: 7px;
}

.compact-header .brand-module {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 52%),
    #080d0f;
}

.compact-header .brand-module img {
  filter: drop-shadow(0 0 10px rgba(18, 217, 237, 0.12));
}

.marcin-page .compact-header .brand-module-marcin img {
  filter: drop-shadow(0 0 11px rgba(255, 179, 0, 0.2));
}

.home-page .action-grid {
  gap: 14px;
}

.home-page .action-grid .action-tile {
  --tile-accent: #12d9ed;
  --tile-tint: rgba(18, 217, 237, 0.075);
  --tile-border: rgba(18, 217, 237, 0.34);
  --tile-glow: rgba(18, 217, 237, 0.13);
  min-height: 158px;
  padding: 25px 25px 57px;
  border: 1px solid var(--tile-border);
  background:
    linear-gradient(145deg, var(--tile-tint), transparent 54%),
    linear-gradient(180deg, #121a1e, #0b1114);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.22), inset 0 0 24px rgba(255, 255, 255, 0.018);
}

.home-page .action-grid .action-tile:nth-child(2) {
  --tile-accent: #b4dce5;
  --tile-tint: rgba(180, 220, 229, 0.07);
  --tile-border: rgba(180, 220, 229, 0.3);
  --tile-glow: rgba(180, 220, 229, 0.11);
}

.home-page .action-grid .action-tile:nth-child(3) {
  --tile-accent: #59dfa5;
  --tile-tint: rgba(89, 223, 165, 0.07);
  --tile-border: rgba(89, 223, 165, 0.3);
  --tile-glow: rgba(89, 223, 165, 0.11);
}

.home-page .action-grid .action-tile:nth-child(4) {
  --tile-accent: #f0c267;
  --tile-tint: rgba(240, 194, 103, 0.07);
  --tile-border: rgba(240, 194, 103, 0.3);
  --tile-glow: rgba(240, 194, 103, 0.11);
}

.home-page .action-grid .action-tile:nth-child(5) {
  --tile-accent: #72a9ff;
  --tile-tint: rgba(114, 169, 255, 0.075);
  --tile-border: rgba(114, 169, 255, 0.32);
  --tile-glow: rgba(114, 169, 255, 0.12);
}

.home-page .action-grid .action-tile:nth-child(6) {
  --tile-accent: #d4e2e6;
  --tile-tint: rgba(212, 226, 230, 0.065);
  --tile-border: rgba(212, 226, 230, 0.27);
  --tile-glow: rgba(212, 226, 230, 0.1);
}

.home-page .action-grid .action-tile::before {
  background: repeating-linear-gradient(90deg, var(--tile-accent) 0 5px, transparent 5px 9px);
  opacity: 0.76;
}

.home-page .action-grid .action-tile::after {
  width: 58px;
  height: 2px;
  background: var(--tile-accent);
  box-shadow: 0 0 12px var(--tile-glow);
}

.home-page .action-grid .action-tile:hover {
  border-color: var(--tile-accent);
  background:
    linear-gradient(145deg, var(--tile-tint), transparent 62%),
    linear-gradient(180deg, #172227, #0d1518);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3), 0 0 20px var(--tile-glow);
  transform: translateY(-4px);
}

.home-page .action-tile .action-kind {
  position: absolute;
  right: 15px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 12px;
  border: 1px solid var(--tile-border);
  background: rgba(4, 9, 11, 0.82);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  color: var(--tile-accent);
  font: 800 0.64rem "Oxanium", "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .compact-header .header-inner {
    gap: 10px;
  }

  .compact-header .brand-modules {
    gap: 4px;
  }

  .compact-header .brand-module {
    width: 66px;
    height: 48px;
  }

  .home-page .action-grid {
    gap: 9px;
  }

  .home-page .action-grid .action-tile {
    min-height: 156px;
    padding: 18px 14px 52px;
  }

  .home-page .action-tile .action-kind {
    right: 10px;
    bottom: 10px;
    min-height: 25px;
    padding: 5px 8px;
    font-size: 0.55rem;
  }
}

@media (max-width: 350px) {
  .compact-header .brand-module {
    width: 60px;
    height: 44px;
  }

  .home-page .action-grid .action-tile {
    min-height: 164px;
    padding-inline: 11px;
  }

  .home-page .action-tile .action-kind {
    max-width: calc(100% - 20px);
    white-space: normal;
  }
}
