/* Theme Name: BARI BUTI
   Author: BARI BUTI MARKETING S.L.
   Support: https://bari-buti.com / info@bari-buti.com
   Description: Coming-soon stub for IT marketing
*/

:root {
  --ink: #08090c;
  --graphite: #11141a;
  --panel: #181c24;
  --line: #2a3140;
  --copper: #d48a3a;
  --cyan: #3aa8b8;
  --paper: #ece7de;
  --muted: #9a9a94;
  --font-display: "Bricolage Grotesk", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--copper);
  text-decoration: none;
}

a:hover {
  color: #e6b05a;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(58, 168, 184, 0.12), transparent 42%),
    linear-gradient(210deg, rgba(212, 138, 58, 0.18), transparent 50%);
}

.preloader__inner {
  position: relative;
  width: min(280px, 70vw);
  text-align: center;
}

.preloader__mark {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.preloader__track {
  height: 2px;
  background: var(--line);
  overflow: hidden;
}

.preloader__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--copper));
  animation: load 1.15s ease forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(58, 168, 184, 0.08), transparent 42%),
    radial-gradient(ellipse at 82% 78%, rgba(212, 138, 58, 0.1), transparent 46%),
    var(--ink);
}

.field::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(236, 231, 222, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 78%);
}

.field__mesh {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.field__lines {
  stroke-dasharray: 8 14;
  animation: drift 18s linear infinite;
}

.field__nodes circle {
  animation: pulse 3.6s ease-in-out infinite;
}

.field__nodes circle:nth-child(2) {
  animation-delay: 0.6s;
  fill: var(--cyan);
}

.field__nodes circle:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes drift {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.top,
.stage,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 6vw 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.brand img {
  display: block;
}

.status {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 0 rgba(212, 138, 58, 0.7);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 8px rgba(212, 138, 58, 0);
  }
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 6vw 6vh;
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 34rem;
}

.cta {
  align-self: flex-start;
  display: inline-flex;
  padding: 0.85rem 1.25rem;
  background: var(--copper);
  color: #1a1208;
  font-weight: 600;
  border-radius: 2px;
}

.cta:hover {
  color: #1a1208;
  background: #e6b05a;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  justify-content: space-between;
  align-items: end;
  padding: 0 6vw 1.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot__legal {
  margin: 0 0 0.25rem;
  color: var(--paper);
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.foot p {
  margin: 0.15rem 0;
}

.foot__nav {
  display: flex;
  gap: 1.25rem;
}

.cookie {
  position: fixed;
  z-index: 30;
  right: 1.25rem;
  bottom: 1.25rem;
  width: min(24rem, calc(100vw - 2.5rem));
  padding: 1.1rem 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 0.92rem;
}

.cookie p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 0.55rem 0.85rem;
  background: var(--copper);
  color: #1a1208;
  font-family: var(--font-body);
  font-weight: 600;
}

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line);
}

.legal {
  max-width: 42rem;
  padding: 6vh 6vw 8vh;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.legal p,
.legal li {
  color: var(--muted);
}

@media (max-width: 720px) {
  .top {
    padding-top: 1rem;
  }

  .status {
    font-size: 0.6rem;
  }

  .foot {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__bar,
  .field__lines,
  .field__nodes circle,
  .status__dot {
    animation: none;
  }

  .preloader__bar {
    width: 100%;
  }
}
