


.lyt {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.lyt-hd {
  box-shadow: 0 10px 30px rgba(2, 6, 14, 0.45);
}

.hd-nv {
  font-size: var(--fl-sm);
}

.hd-ov {
  backdrop-filter: blur(2px);
}

.hd-tg {
  flex-shrink: 0;
}

.ft-cp {
  color: var(--text-muted);
}


header[data-mm-header] {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--line);
}

.hd-tp {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fl-xs);
  color: var(--text-muted);
}

.hd-tw {
  width: var(--wrap);
  margin-inline: auto;
  min-height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}

.hd-ph {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hd-bar {
  width: var(--wrap);
  margin-inline: auto;
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  
  position: relative;
}

.hd-lg {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.hd-lg img {
  height: 2.1rem;
  width: auto;
}

.hd-ls {
  display: flex;
  align-items: center;
}

.hd-ls > li > a {
  color: var(--text-primary);
  font-size: var(--fl-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.hd-ls > li > a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.hd-dd {
  
  position: static;
}

nav ul.mg-pn {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  
  top: calc(100% - 1.1rem);
  left: auto;
  right: 0;
  width: min(58rem, 100%);
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-tertiary);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--rad) var(--rad);
  box-shadow: 0 22px 54px rgba(2, 6, 14, 0.55);
  visibility: hidden;
  z-index: 40;
}

.hd-dd:hover > ul.mg-pn,
.hd-dd:focus-within > ul.mg-pn {
  visibility: visible;
}

nav ul.mg-pn > li {
  display: block;
}

.mg-hd {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: var(--accent-hover);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

nav ul.mg-pn li a {
  display: block;
  padding: 0.34rem 0;
  font-size: var(--fl-xs);
  color: var(--text-secondary);
  border-bottom: none;
}

nav ul.mg-pn li a:hover {
  color: var(--accent-hover);
}

.hd-ct {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--rad-s);
  color: var(--text-primary);
  font-size: var(--fl-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

.hd-ct:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
  text-decoration: none;
}

.hd-cn {
  min-width: 1.35rem;
  height: 1.35rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
}

.hd-tg span {
  background: var(--text-primary);
  border-radius: 2px;
}

.hd-cl {
  color: var(--text-primary);
}



.lyt-bd {
  width: var(--wrap);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr var(--sb-w);
  gap: var(--sp-5);
  align-items: start;
  padding-bottom: var(--sp-4);
}

.lyt-mn {
  order: 1;
  min-width: 0;
}

.lyt-ct {
  min-width: 0;
}

.lyt-sb {
  order: 2;
  position: sticky;
  top: calc(var(--hd-h) + 1.2rem);
  display: grid;
  gap: var(--sp-2);
  padding-top: var(--fl-band);
  min-width: 0;
}

.sb-cd {
  background: var(--bg-secondary);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: var(--sp-3);
}

.sb-hd {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
}

.sb-ph {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  color: var(--text-primary);
  text-decoration: none;
}

.sb-ph:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

.sb-pr {
  aspect-ratio: 1;
  background-image: url('/images/arteolin-podium.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--rad-m);
  margin-bottom: var(--sp-1);
}

.sb-li li {
  font-size: var(--fl-xs);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-soft);
}



.lyt-ft {
  margin-top: auto;
}

.ft-dc {
  width: var(--wrap);
  margin-inline: auto;
  max-width: none;
  padding: var(--sp-2) 0;
  font-size: var(--fl-xs);
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}

.ft-bar {
  width: var(--wrap);
  margin-inline: auto;
  background: transparent;
  padding: 1.25rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fl-xs);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.ft-lg {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ft-lg img {
  height: 1.6rem;
  width: auto;
}



.stky-b {
  position: sticky;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  background: var(--bg-tertiary);
  border: 1px solid var(--line);
  border-radius: var(--rad) var(--rad) 0 0;
  box-shadow: 0 -14px 38px rgba(2, 6, 14, 0.5);
}

.stky-t {
  margin-bottom: 0;
  font-size: var(--fl-sm);
  color: var(--text-primary);
}



.fl-tb {
  position: fixed;
  right: 0;
  bottom: 24vh;
  z-index: 90;
  writing-mode: vertical-rl;
  padding: var(--sp-3) 0.55rem;
  background: var(--accent);
  color: #ffffff;
  border-radius: var(--rad-s) 0 0 var(--rad-s);
  font-size: var(--fl-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.fl-tb:hover {
  background: var(--accent-hover);
}

.fl-wg {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 95;
  width: min(23rem, 92vw);
  padding: var(--sp-3);
  background: var(--bg-secondary);
  border: 1px solid var(--accent);
  border-radius: var(--rad);
  box-shadow: 0 26px 64px rgba(2, 6, 14, 0.66);
  display: none;
}

.fl-wg[data-open="1"] {
  display: block;
}

.fl-cl {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 1.4rem;
  line-height: 1;
}

.fl-cl:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.fl-hd {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}


@media (min-width: 1024px) {
  .hd-nv .hd-ls > li > a {
    font-size: var(--fl-sm);
  }
}

@media (max-width: 1023px) {
  .lyt-bd {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .lyt-sb {
    position: static;
    padding-top: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  
  .hd-tp {
    display: none;
  }

  .hd-bar {
    min-height: 4.2rem;
    gap: var(--sp-1);
  }

  .hd-lg img {
    height: 1.7rem;
  }

  .hd-ct {
    padding: 0.5rem 0.7rem;
    letter-spacing: 0.02em;
  }

  .hd-ls {
    display: block;
  }

  nav ul.mg-pn {
    position: static;
    visibility: visible;
    grid-template-columns: 1fr;
    width: auto;
    gap: var(--sp-1);
    padding: var(--sp-1) 0 var(--sp-1) var(--sp-2);
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  .lyt-sb {
    grid-template-columns: 1fr;
  }

  .ft-bar {
    justify-content: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .fl-tb {
    bottom: 12vh;
  }

  .fl-wg {
    right: 0.6rem;
    left: 0.6rem;
    width: auto;
  }

  .stky-b {
    justify-content: center;
    text-align: center;
  }
}
