/* Louver Plinth — exclusive Appily Seventysix footer.
   Asymmetric desk mosaic. Not a column matrix, not a copyright bar. */

.lou-plinth {
  --lou-glacier: #E8F0F2;
  --lou-panel: #F7FBFC;
  --lou-ink: #0A1628;
  --lou-mute: #5C6B78;
  --lou-butter: #F4C430;
  --lou-butter-deep: #D9A910;
  --lou-spruce: #1B6B4F;
  --lou-frost: #4A9BBE;
  --lou-ember: #E4572E;
  --lou-line: rgba(10, 22, 40, 0.11);
  --lou-shadow: 0 22px 48px rgba(10, 22, 40, 0.1);
  --lou-font: "Mulish", system-ui, sans-serif;
  --lou-display: "Exo 2", system-ui, sans-serif;

  position: relative;
  isolation: isolate;
  margin-top: auto;
  padding: 0 3.75rem clamp(2.4rem, 5vw, 3.6rem) 0;
  overflow: hidden;
  font-family: var(--lou-font);
  color: var(--lou-ink);
  background: transparent;
}

.lou-plinth-haze {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 280px at 8% 0%, rgba(244, 196, 48, 0.18), transparent 58%),
    radial-gradient(640px 300px at 96% 100%, rgba(27, 107, 79, 0.16), transparent 52%),
    linear-gradient(180deg, transparent 0%, #DDE8EC 28%, #E8F0F2 100%);
}

.lou-plinth-blinds {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.22rem;
  padding: 0 clamp(1rem, 3vw, 2rem);
  margin-bottom: 1.1rem;
}

.lou-plinth-blinds i {
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #d5e2e7);
  border: 1px solid var(--lou-line);
  transform-origin: center;
  animation: lou-plinth-blink 5.6s ease-in-out infinite;
  animation-delay: calc(var(--lou-s) * 0.12s);
}

.lou-plinth-blinds i:nth-child(3n) {
  background: linear-gradient(180deg, rgba(244, 196, 48, 0.55), #fff);
}
.lou-plinth-blinds i:nth-child(4n) {
  background: linear-gradient(180deg, rgba(27, 107, 79, 0.28), #fff);
}
.lou-plinth-blinds i:nth-child(5n) {
  background: linear-gradient(180deg, rgba(74, 155, 190, 0.32), #fff);
}

@keyframes lou-plinth-blink {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.55); opacity: 1; }
}

.lou-plinth-deck {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.lou-plinth .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lou-plinth-kicker {
  margin: 0 0 0.55rem;
  font-family: var(--lou-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lou-frost);
}

.lou-plinth-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(15.5rem, 0.88fr) minmax(16.5rem, 1fr);
  grid-template-areas:
    "brief aisles desknet"
    "brief signals statute";
  gap: 0.75rem;
  align-items: stretch;
}

.lou-plinth-brief { grid-area: brief; }
.lou-plinth-aisles { grid-area: aisles; }
.lou-plinth-desknet { grid-area: desknet; }
.lou-plinth-signals { grid-area: signals; }
.lou-plinth-statute { grid-area: statute; }

.lou-plinth-brief,
.lou-plinth-aisles,
.lou-plinth-desknet,
.lou-plinth-signals,
.lou-plinth-statute {
  background: linear-gradient(155deg, #fff, var(--lou-panel));
  border: 1px solid var(--lou-line);
  box-shadow: var(--lou-shadow);
}

.lou-plinth-brief {
  padding: clamp(1.2rem, 2.8vw, 1.85rem);
  border-radius: 1.6rem 0.4rem 1.6rem 0.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(280px 160px at 92% 8%, rgba(244, 196, 48, 0.28), transparent 70%),
    linear-gradient(155deg, #fff, var(--lou-panel));
}

.lou-plinth-brief h2 {
  margin: 0 0 0.7rem;
  font-family: var(--lou-display);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 16ch;
}

.lou-plinth-brief > p:not(.lou-plinth-kicker):not(.lou-plinth-form-note) {
  margin: 0 0 1.2rem;
  color: var(--lou-mute);
  max-width: 38ch;
}

.lou-plinth-field {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.28rem 0.28rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--lou-line);
  box-shadow: 0 8px 20px rgba(10, 22, 40, 0.05);
}

.lou-plinth-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: var(--lou-ink);
}

.lou-plinth-field button {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.05rem;
  background: var(--lou-butter);
  color: var(--lou-ink);
  font-family: var(--lou-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(244, 196, 48, 0.38);
  transition: transform 0.22s, box-shadow 0.22s, background 0.2s;
}

.lou-plinth-field button:hover,
.lou-plinth-field button:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 30px rgba(244, 196, 48, 0.5);
  outline: none;
}

.lou-plinth-glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.7) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: lou-plinth-glint 3.6s ease-in-out infinite;
}

@keyframes lou-plinth-glint {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

.lou-plinth-form-note {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--lou-mute);
}

.lou-plinth-form.is-ok .lou-plinth-form-note { color: var(--lou-spruce); font-weight: 700; }
.lou-plinth-form.is-err .lou-plinth-form-note { color: var(--lou-ember); font-weight: 700; }

.lou-plinth-aisles,
.lou-plinth-desknet,
.lou-plinth-signals,
.lou-plinth-statute {
  padding: 1rem 1.05rem 1.1rem;
}

.lou-plinth-aisles { border-radius: 0.45rem 1.7rem; }
.lou-plinth-desknet { border-radius: 1.4rem 0.4rem; }
.lou-plinth-signals { border-radius: 1.15rem 0.35rem 1.15rem 0.35rem; }
.lou-plinth-statute { border-radius: 0.4rem 1.6rem 0.4rem 1.6rem; }

.lou-plinth-aisle-stack {
  display: grid;
  gap: 0.38rem;
}

.lou-plinth-aisle {
  display: grid;
  grid-template-columns: 1.7rem 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.42rem 0.5rem 0.42rem 0.35rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--lou-line);
  text-decoration: none !important;
  color: inherit;
  transform: translateX(calc(var(--lou-i) * 7px));
  transition: transform 0.28s ease, box-shadow 0.28s, border-color 0.2s, background 0.2s;
}

.lou-plinth-aisle span {
  font-family: var(--lou-display);
  font-weight: 800;
  font-size: 0.72rem;
  color: var(--lou-mute);
  text-align: center;
}

.lou-plinth-aisle strong {
  font-family: var(--lou-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.15;
}

.lou-plinth-aisle em {
  font-style: normal;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lou-ink);
  color: #fff;
  font-size: 0.72rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.2s, transform 0.25s;
}

.lou-plinth-aisle:hover,
.lou-plinth-aisle:focus-visible {
  transform: translateX(calc(var(--lou-i) * 7px + 8px));
  background: #fff;
  border-color: rgba(27, 107, 79, 0.35);
  box-shadow: 0 12px 24px rgba(10, 22, 40, 0.08);
  outline: none;
}

.lou-plinth-aisle:hover em,
.lou-plinth-aisle:focus-visible em {
  opacity: 1;
  transform: scale(1);
}

.lou-plinth-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.lou-plinth-tile {
  position: relative;
  padding: 0.72rem 0.75rem 0.8rem;
  border-radius: 1.05rem;
  background: #fff;
  border: 1px solid var(--lou-line);
  text-decoration: none !important;
  color: inherit;
  overflow: hidden;
  transform: translateY(calc((var(--lou-i) % 2) * 8px - 4px));
  transition: transform 0.28s cubic-bezier(0.2, 0.85, 0.2, 1), box-shadow 0.28s, border-color 0.2s;
}

.lou-plinth-tile::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 40%;
  bottom: 0.45rem;
  height: 2px;
  background: var(--lou-spruce);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.lou-plinth-tile strong {
  display: block;
  font-family: var(--lou-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.lou-plinth-tile span {
  color: var(--lou-mute);
  font-size: 0.75rem;
}

.lou-plinth-tile:hover,
.lou-plinth-tile:focus-visible {
  transform: translateY(calc((var(--lou-i) % 2) * 8px - 10px)) rotate(-0.5deg);
  box-shadow: var(--lou-shadow);
  border-color: rgba(244, 196, 48, 0.55);
  outline: none;
}

.lou-plinth-tile:hover::after,
.lou-plinth-tile:focus-visible::after {
  transform: scaleX(1);
}

.lou-plinth-orbit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.lou-plinth-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.06);
  color: var(--lou-ink);
  text-decoration: none !important;
  font-family: var(--lou-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transform: rotate(calc(((var(--lou-i) % 3) - 1) * 2.4deg));
  transition: transform 0.22s, background 0.22s, color 0.22s, box-shadow 0.22s;
}

.lou-plinth-chip--frost { background: rgba(74, 155, 190, 0.16); }
.lou-plinth-chip--ember { background: rgba(228, 87, 46, 0.14); }
.lou-plinth-chip--spruce { background: rgba(27, 107, 79, 0.14); }
.lou-plinth-chip--butter { background: rgba(244, 196, 48, 0.28); }
.lou-plinth-chip--ink { background: var(--lou-ink); color: #fff; }

.lou-plinth-chip:hover,
.lou-plinth-chip:focus-visible {
  transform: rotate(0) translateY(-3px) scale(1.04);
  box-shadow: 0 10px 20px rgba(10, 22, 40, 0.1);
  outline: none;
}

.lou-plinth-chip--ink:hover,
.lou-plinth-chip--ink:focus-visible {
  background: var(--lou-spruce);
}

.lou-plinth-disclaimer {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--lou-mute);
  line-height: 1.45;
}

.lou-plinth-slats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lou-plinth-slat {
  position: relative;
  padding: 0.42rem 0.7rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid var(--lou-line);
  color: var(--lou-ink);
  text-decoration: none !important;
  font-family: var(--lou-display);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 0 rgba(10, 22, 40, 0.06);
  transition: transform 0.22s, box-shadow 0.22s, background 0.2s, color 0.2s;
}

.lou-plinth-slat:hover,
.lou-plinth-slat:focus-visible {
  transform: translateY(-4px);
  background: var(--lou-ink);
  color: var(--lou-butter);
  box-shadow: 0 10px 0 rgba(10, 22, 40, 0.16);
  outline: none;
}

.lou-plinth-seals {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.lou-plinth-seal {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 1.1rem 0.35rem;
  background: linear-gradient(145deg, var(--lou-spruce), #24956E);
  color: #fff;
  font-family: var(--lou-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 28px rgba(27, 107, 79, 0.35);
  animation: lou-plinth-seal 6s ease-in-out infinite;
}

@keyframes lou-plinth-seal {
  0%, 100% { border-radius: 1.1rem 0.35rem; transform: rotate(0); }
  50% { border-radius: 0.35rem 1.1rem; transform: rotate(2deg); }
}

.lou-plinth-plate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 10rem;
  padding-right: 0.4rem;
}

.lou-plinth-plate strong {
  font-family: var(--lou-display);
  font-size: 0.98rem;
  font-weight: 800;
}

.lou-plinth-plate span {
  color: var(--lou-mute);
  font-size: 0.78rem;
}

.lou-plinth-stamp {
  display: grid;
  gap: 0.08rem;
  padding: 0.55rem 0.75rem;
  border-radius: 1.05rem;
  background: #fff;
  border: 1px solid var(--lou-line);
  text-decoration: none !important;
  color: inherit;
  max-width: 16rem;
  transform: rotate(-0.6deg);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.2s;
}

.lou-plinth-stamp:nth-of-type(even) { transform: rotate(0.8deg); }
.lou-plinth-stamp--hours { transform: rotate(-1.1deg); }

.lou-plinth-stamp small {
  font-family: var(--lou-display);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--lou-ember);
}

.lou-plinth-stamp strong,
.lou-plinth-stamp span {
  font-size: 0.78rem;
  line-height: 1.25;
}

.lou-plinth-stamp:hover,
.lou-plinth-stamp:focus-visible {
  transform: rotate(0) translateY(-3px);
  box-shadow: var(--lou-shadow);
  border-color: rgba(27, 107, 79, 0.35);
  outline: none;
}

.lou-plinth-rise-inline {
  margin-left: auto;
  align-self: center;
  border: 1.5px solid var(--lou-ink);
  background: transparent;
  color: var(--lou-ink);
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  font-family: var(--lou-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.22s;
}

.lou-plinth-rise-inline:hover,
.lou-plinth-rise-inline:focus-visible {
  background: var(--lou-ink);
  color: #fff;
  transform: translateY(-2px);
  outline: none;
}

.lou-plinth-rise {
  position: fixed;
  left: 1rem;
  bottom: 1.15rem;
  z-index: 110;
  width: 2.7rem;
  height: 2.7rem;
  border: 0;
  border-radius: 1.1rem 0.35rem;
  background: var(--lou-butter);
  color: var(--lou-ink);
  font-family: var(--lou-display);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(244, 196, 48, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) rotate(-6deg);
  transition: opacity 0.25s, transform 0.25s;
}

.lou-plinth-rise.is-live {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.lou-plinth-rise:hover,
.lou-plinth-rise:focus-visible {
  transform: translateY(-3px) rotate(0);
  outline: none;
}

@media (max-width: 1100px) {
  .lou-plinth-mosaic {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "brief brief"
      "aisles desknet"
      "signals statute";
  }
}

@media (max-width: 820px) {
  .lou-plinth { padding: 0 0 6.2rem; }
  .lou-plinth-mosaic {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brief"
      "aisles"
      "desknet"
      "signals"
      "statute";
  }
  .lou-plinth-aisle { transform: none; }
  .lou-plinth-aisle:hover,
  .lou-plinth-aisle:focus-visible { transform: translateX(8px); }
  .lou-plinth-tile { transform: none; }
  .lou-plinth-tile:hover,
  .lou-plinth-tile:focus-visible { transform: translateY(-6px); }
  .lou-plinth-rise-inline { margin-left: 0; width: 100%; }
  .lou-plinth-rise { left: 0.85rem; bottom: 5.4rem; }
}

@media (max-width: 520px) {
  .lou-plinth-field { flex-direction: column; align-items: stretch; padding: 0.45rem; border-radius: 1.15rem; }
  .lou-plinth-field input { padding: 0.35rem 0.5rem; }
  .lou-plinth-blinds { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .lou-plinth-blinds i:nth-child(n+9) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lou-plinth *,
  .lou-plinth *::before,
  .lou-plinth *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
