/* ============================================================
   Foxio — custom software development
   Dark, gradient-driven single page.
   ============================================================ */

:root {
  --bg-900: #060a1f;
  --bg-800: #0b1030;
  --bg-700: #101a4d;
  --bg-600: #16256b;

  --ink:        #eaf1ff;
  --ink-muted:  #a8b6dd;
  --ink-faint:  #7286b5;

  --cyan:   #6ee7ff;
  --blue:   #4f7dff;
  --violet: #a855f7;

  --line:  rgba(120, 160, 255, .18);
  --glass: rgba(18, 32, 84, .55);

  --shell: 1180px;
  --radius: 18px;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-900);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; }

a { color: inherit; }

.shell {
  width: min(var(--shell), calc(100% - 2.5rem));
  margin-inline: auto;
}

.grad {
  background: linear-gradient(100deg, var(--cyan), var(--blue) 45%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin: 0 0 .4rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .85;
}

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }

.section__title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}
.section__title--left { text-align: left; margin-bottom: 1.5rem; }

.section__title::after {
  content: "";
  display: block;
  width: 78px; height: 2px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px;
}
.section__title--left::after { margin-inline: 0; }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: linear-gradient(100deg, var(--blue), var(--violet));
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem 1.6rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn svg { width: 20px; height: 20px; }

.btn--primary {
  background: var(--btn-bg);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(79, 125, 255, .9);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(168, 85, 247, .9); }

.btn--ghost {
  background: transparent;
  border-color: rgba(140, 180, 255, .5);
  color: var(--ink);
}
.btn--ghost:hover { background: rgba(110, 231, 255, .12); border-color: var(--cyan); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  background: rgba(6, 10, 31, 0);
  transition: background-color .25s ease, backdrop-filter .25s ease, padding .25s ease;
}
.site-header.is-stuck {
  padding: .55rem 0;
  background: rgba(6, 10, 31, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .16em; }
.logo__sub { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-top: .25rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: .93rem;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color .2s ease;
}
.nav__link:hover, .nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px;
}
.nav__cta { margin-left: .5rem; }

.nav-burger { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(37, 82, 190, .55), transparent 60%),
    radial-gradient(90% 70% at 12% 90%, rgba(88, 43, 173, .45), transparent 65%),
    linear-gradient(160deg, var(--bg-800), var(--bg-900) 65%);
  overflow: hidden;
}

.hero__art {
  position: absolute;
  top: 50%; right: -4%;
  translate: 0 -50%;
  width: min(62vw, 820px);
  aspect-ratio: 1;
  opacity: .85;
  pointer-events: none;
}
.hero__art svg { width: 100%; height: 100%; }

/* hero artwork: a slowly turning wireframe sphere with orbits and data flow */

.art-sphere,
.art-mesh,
.art-orbit,
.art-ring {
  transform-box: view-box;
  transform-origin: 300px 300px;
}

.art-sphere { animation: spin 120s linear infinite; }
.art-mesh   { animation: spin 64s linear infinite reverse; }
.art-ring   { animation: spin 26s linear infinite; }

.art-orbit--1 { animation: spin 34s linear infinite; }
.art-orbit--2 { animation: spin 46s linear infinite reverse; }
.art-orbit--3 { animation: spin 58s linear infinite; }

.sat { animation: pulse 3.2s ease-in-out infinite; }

.art-core {
  transform-box: view-box;
  transform-origin: 300px 300px;
  animation: breathe 7s ease-in-out infinite;
}

/* a short lit segment sliding along each mesh path */
.flow {
  stroke-dasharray: 90 620;
  stroke-dashoffset: 710;
  animation: dash 6s linear infinite;
}
.flow--2 { animation-duration: 7.5s; animation-delay: 1.2s; }
.flow--3 { animation-duration: 9s;   animation-delay: 2.4s; }

.art-nodes circle { animation: pulse 4s ease-in-out infinite; }
.art-nodes circle:nth-child(2n) { animation-delay: 1.3s; }
.art-nodes circle:nth-child(3n) { animation-delay: 2.4s; }

.chip { animation: drift 9s ease-in-out infinite; }
.chip--2 { animation-duration: 11s; animation-delay: -3s; }
.chip--3 { animation-duration: 13s; animation-delay: -6s; }
.chip--4 { animation-duration: 10s; animation-delay: -1.5s; }

/* kept for the About illustration */
.hero__nodes circle { animation: pulse 4s ease-in-out infinite; }
.hero__nodes circle:nth-child(2n) { animation-delay: 1.3s; }
.hero__nodes circle:nth-child(3n) { animation-delay: 2.4s; }

@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes pulse   { 0%, 100% { opacity: .4; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes dash    { to { stroke-dashoffset: -710; } }
@keyframes drift   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 1.4rem;
}

.hero__lead {
  max-width: 34rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin: 0 0 2.2rem;
}

/* ---------- services carousel ---------- */

.services {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(44, 62, 160, .45), transparent 60%),
    linear-gradient(180deg, var(--bg-900), #080d29);
}

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

.carousel__arrow {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(140, 180, 255, .45);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow:hover { background: rgba(110, 231, 255, .14); border-color: var(--cyan); }
.carousel__arrow[disabled] { opacity: .3; cursor: default; }

.carousel__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1.5rem .25rem 2rem;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 clamp(240px, 28%, 300px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .9rem;
  padding: 2rem 1.6rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(35, 58, 150, .75), rgba(14, 22, 62, .9));
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .9);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(110, 231, 255, .5);
  box-shadow: 0 30px 60px -28px rgba(79, 125, 255, .8);
}

.card__icon { width: 118px; height: 100px; }
.card__icon svg { width: 100%; height: 100%; }

.card__title { font-size: 1.28rem; font-weight: 600; }
.card__text { margin: 0; font-size: .93rem; color: var(--ink-muted); }

.card__link {
  margin-top: auto;
  padding: .5rem 1.1rem;
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .14em;
  text-decoration: none;
  border: 1px solid rgba(160, 195, 255, .55);
  border-radius: 3px;
  transition: background-color .2s ease, border-color .2s ease;
}
.card__link:hover { background: rgba(110, 231, 255, .16); border-color: var(--cyan); }

/* ---------- about ---------- */

.about {
  background:
    radial-gradient(70% 60% at 85% 40%, rgba(56, 120, 220, .35), transparent 60%),
    linear-gradient(180deg, #080d29, var(--bg-800));
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__copy p { color: var(--ink-muted); margin: 0 0 1.1rem; }
.about__copy .btn { margin-top: .8rem; }
.about__art svg { width: 100%; height: auto; }

/* ---------- process ---------- */

.process { background: linear-gradient(180deg, var(--bg-800), #070c24); }


.process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.process__item {
  padding: 2rem 1.6rem;
  background: var(--glass);
  backdrop-filter: blur(8px);
  transition: background-color .25s ease;
}
.process__item:hover { background: rgba(30, 52, 130, .65); }

.process__step {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.process__title { font-size: 1.18rem; font-weight: 600; margin: .4rem 0 .5rem; }
.process__text { margin: 0; font-size: .92rem; color: var(--ink-muted); }

/* ---------- why us ---------- */

.why {
  background:
    radial-gradient(60% 55% at 15% 20%, rgba(56, 120, 220, .28), transparent 62%),
    var(--bg-800);
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.2rem;
  row-gap: .4rem;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-left: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(8px);
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}
.why__item:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 255, .45);
  background: rgba(30, 52, 130, .6);
}

.why__icon {
  grid-row: span 2;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: var(--cyan);
  background: linear-gradient(150deg, rgba(110, 231, 255, .18), rgba(168, 85, 247, .18));
  border: 1px solid rgba(110, 231, 255, .28);
}
.why__icon svg { width: 28px; height: 28px; }

.why__title { align-self: end; font-size: 1.16rem; font-weight: 600; }
.why__text { margin: 0; font-size: .93rem; color: var(--ink-muted); }

/* ---------- tech stack ---------- */

.stack {
  background:
    radial-gradient(60% 50% at 85% 15%, rgba(88, 43, 173, .32), transparent 62%),
    #070c24;
}

.stack__lead {
  max-width: 44rem;
  margin: -1.6rem auto 3rem;
  text-align: center;
  color: var(--ink-muted);
}

.stack__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stack__group {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(8px);
}

.stack__name {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}

.stack__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.chip-tag {
  padding: .42rem .9rem;
  font-size: .86rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 10, 31, .55);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.chip-tag:hover {
  color: #fff;
  border-color: rgba(110, 231, 255, .6);
  background: rgba(110, 231, 255, .12);
}

/* ---------- contact ---------- */

.contact {
  background:
    radial-gradient(70% 70% at 20% 30%, rgba(88, 43, 173, .4), transparent 60%),
    linear-gradient(180deg, #070c24, var(--bg-900));
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__copy p { color: var(--ink-muted); }

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: .8rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--cyan);
  word-break: break-all;
}
.contact__mail svg { width: 24px; height: 24px; flex: none; }
.contact__mail:hover { text-decoration: underline; }

.contact__form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.field { display: grid; gap: .4rem; }
.field__label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input, .field textarea {
  width: 100%;
  padding: .8rem .9rem;
  font: inherit;
  color: var(--ink);
  background: rgba(6, 10, 31, .6);
  border: 1px solid var(--line);
  border-radius: 6px;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(140, 160, 210, .55); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(110, 231, 255, .16);
}
.field__error { font-size: .82rem; color: #ff9db0; }

.alert {
  margin: 0;
  padding: .8rem 1rem;
  border-radius: 8px;
  font-size: .92rem;
  border: 1px solid;
}
.alert--ok { border-color: rgba(110, 231, 255, .5); background: rgba(110, 231, 255, .12); color: #d6f8ff; }
.alert--error { border-color: rgba(255, 120, 150, .5); background: rgba(255, 120, 150, .12); color: #ffd7de; }

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

/* ---------- footer ---------- */

.site-footer {
  padding: 3rem 0 1.5rem;
  background: var(--bg-900);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-footer__contact { display: grid; gap: .2rem; font-size: .95rem; }
.site-footer__contact a { color: var(--cyan); text-decoration: none; word-break: break-all; }
.site-footer__contact a:hover { text-decoration: underline; }

.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .92rem; }
.site-footer__nav a { color: var(--ink-muted); text-decoration: none; }
.site-footer__nav a:hover { color: var(--ink); }

.site-footer__legal {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-faint);
}

/* ---------- reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

/* tablets and small laptops */
@media (max-width: 1080px) {
  .nav { gap: 1.35rem; }
  .card { flex-basis: clamp(230px, 34%, 280px); }
}

@media (max-width: 980px) {
  .about__grid, .contact__grid, .why__grid, .stack__grid { grid-template-columns: 1fr; }
  .about__art { max-width: 380px; margin-inline: auto; }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .hero__art { right: -22%; width: min(78vw, 620px); opacity: .5; }
  .hero__lead { max-width: 30rem; }
}

/* phones */
@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }

  .shell { width: calc(100% - 2rem); }

  .section { padding: 3.75rem 0; }
  .section__title { font-size: clamp(1.7rem, 7vw, 2.2rem); margin-bottom: 2rem; }
  .section__title::after { margin-top: .8rem; }

  /* --- burger menu --- */
  .nav-burger {
    display: block;
    width: 44px; height: 44px;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after {
    content: "";
    position: absolute;
    width: 20px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-burger span { top: 50%; left: 50%; translate: -50% -50%; }
  .nav-burger span::before { top: -6px; left: 0; }
  .nav-burger span::after  { top: 6px;  left: 0; }

  .nav-toggle:checked ~ .nav-burger span { background: transparent; }
  .nav-toggle:checked ~ .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span::after  { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    background: rgba(6, 10, 31, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav__link {
    padding: .95rem .25rem;          /* ~48px tap target */
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link.is-active { color: var(--cyan); }
  .nav__link.is-active::after { display: none; }
  .nav__cta { margin: 1.1rem 0 1.4rem; justify-content: center; }

  .nav-toggle:checked ~ .nav {
    max-height: 30rem;
    padding: .5rem 1rem;
    border-bottom-color: var(--line);
  }

  /* stop the page scrolling behind the open menu */
  body.nav-open { overflow: hidden; }

  /* --- hero --- */
  .hero { min-height: auto; padding: 7.5rem 0 4rem; text-align: left; }
  .hero__title { font-size: clamp(2.1rem, 10vw, 2.9rem); }
  .hero__lead { font-size: .97rem; margin-bottom: 1.8rem; }
  .hero__art {
    top: 46%; right: auto; left: 50%;
    translate: -50% -50%;
    width: 132%;
    opacity: .3;
  }
  .hero .btn { width: 100%; justify-content: center; }

  /* --- carousel: edge to edge so the next card peeks in --- */
  .carousel { margin-inline: calc(50% - 50vw); }
  .carousel__arrow { display: none; }
  .carousel__track {
    padding: 1.25rem 1rem 1.75rem;
    scroll-padding-inline: 1rem;
    gap: 1rem;
  }
  .card { flex-basis: min(82%, 320px); padding: 1.75rem 1.4rem 1.5rem; }
  .card__icon { width: 96px; height: 82px; }

  /* --- content blocks --- */
  .process__list { grid-template-columns: 1fr; }
  .process__item { padding: 1.5rem 1.35rem; }

  .why__item { padding: 1.5rem 1.35rem; }
  .stack__lead { margin: -1rem 0 2rem; text-align: left; }
  .stack__group { padding: 1.4rem 1.25rem; }

  .contact__form { padding: 1.4rem 1.25rem; }
  .field input, .field textarea { font-size: 16px; }   /* stops iOS zooming on focus */

  /* --- footer --- */
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .site-footer__nav { gap: .5rem 1.25rem; }
  .site-footer__nav a { padding: .35rem 0; }
  .site-footer__legal { margin-top: 2rem; text-align: left; }
}

/* small phones */
@media (max-width: 460px) {
  .shell { width: calc(100% - 1.6rem); }
  .section { padding: 3.25rem 0; }

  .logo__mark { width: 34px; height: 34px; }
  .logo__name { font-size: 1rem; }
  .logo__sub { font-size: .52rem; }

  .hero { padding-top: 7rem; }
  .hero__title { font-size: clamp(1.95rem, 11vw, 2.5rem); }

  /* icon above the text — two columns get too tight below ~400px */
  .why__item { grid-template-columns: 1fr; row-gap: .7rem; }
  .why__icon { grid-row: auto; width: 46px; height: 46px; }
  .why__icon svg { width: 25px; height: 25px; }

  .card { flex-basis: 86%; }
  .chip-tag { font-size: .8rem; padding: .36rem .75rem; }
  .btn { padding: .8rem 1.2rem; font-size: .78rem; }
  .contact__mail { font-size: .92rem; }
}

/* short landscape phones: the hero should not eat the whole screen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 6.5rem 0 3rem; }
  .hero__art { opacity: .25; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
