/* Splendido — main stylesheet */

@font-face {
  font-family: "Silka";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Silka-Medium.otf") format("opentype");
}

@font-face {
  font-family: "Silka Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/SilkaMono-Regular.otf") format("opentype");
}

:root {
  --radius: 0.25rem;
  --wine: oklch(0.22 0.05 25);
  --cream: oklch(0.94 0.03 80);
  --brand: oklch(0.46 0.16 25);
  --background: var(--wine);
  --foreground: var(--cream);
  --card: oklch(0.26 0.05 25);
  --primary: var(--brand);
  --border: oklch(0.94 0.03 80 / 0.18);
  --font-sans: "Silka", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Silka Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --container: 1600px;
  --container-narrow: 1300px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.spl-page {
  position: relative;
  min-height: 100vh;
}

.spl-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.spl-container--narrow {
  max-width: var(--container-narrow);
}

@media (min-width: 768px) {
  .spl-container {
    padding-inline: 2rem;
  }
}

.spl-mono {
  font-family: var(--font-mono);
}

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

.spl-text-muted {
  color: oklch(0.94 0.03 80 / 0.6);
}

.spl-text-soft {
  color: oklch(0.94 0.03 80 / 0.8);
}

.spl-text-faint {
  color: oklch(0.94 0.03 80 / 0.55);
}

/* Header */
.spl-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid oklch(0.94 0.03 80 / 0.1);
  background: oklch(0.22 0.05 25 / 0.85);
  backdrop-filter: blur(12px);
}

.spl-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

@media (min-width: 768px) {
  .spl-header__inner {
    padding-block: 1rem;
  }
}

.spl-header__logo {
  height: 2.5rem;
  width: 2.5rem;
}

@media (min-width: 768px) {
  .spl-header__logo {
    height: 3rem;
    width: 3rem;
  }
}

.spl-nav {
  display: none;
}

@media (min-width: 768px) {
  .spl-nav {
    display: block;
  }
}

.spl-nav__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.spl-nav__pill {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border: 1px solid oklch(0.94 0.03 80 / 0.4);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.spl-nav__link:hover .spl-nav__pill,
.spl-nav__list a:hover .spl-nav__pill {
  border-color: var(--foreground);
  background: var(--foreground);
  color: var(--background);
}

.spl-mobile-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid oklch(0.94 0.03 80 / 0.4);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.spl-mobile-toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--foreground);
}

@media (min-width: 768px) {
  .spl-mobile-toggle {
    display: none;
  }
}

.spl-mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0;
  z-index: 50;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--background);
}

.spl-mobile-menu.is-open {
  display: flex;
}

.spl-mobile-menu a {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spl-mobile-menu .spl-nav__pill {
  padding: 0.5rem 1rem;
}

/* Hero */
.spl-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 88vh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1rem;
}

@media (min-width: 768px) {
  .spl-hero {
    padding-block: 8rem;
  }
}

.spl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
}

.spl-hero__gradient {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, transparent 0%, var(--background) 70%);
}

.spl-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.spl-hero__logo {
  height: 280px;
  width: auto;
}

@media (min-width: 768px) {
  .spl-hero__logo {
    height: 420px;
  }
}

.spl-hero__tagline {
  margin: 2.5rem 0 0;
  max-width: 36rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.8);
}

/* Marquee */
.spl-marquee {
  overflow: hidden;
  border-block: 1px solid oklch(0.94 0.03 80 / 0.15);
  background: oklch(0.22 0.05 25 / 0.6);
  padding-block: 1rem;
}

.spl-marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: spl-marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.7);
  white-space: nowrap;
}

.spl-marquee__item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

@keyframes spl-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Sections */
.spl-section {
  scroll-margin-top: 6rem;
  padding: 6rem 1rem;
}

@media (min-width: 768px) {
  .spl-section {
    padding: 9rem 2rem;
  }
}

.spl-section--card {
  border-block: 1px solid oklch(0.94 0.03 80 / 0.1);
  background: oklch(0.26 0.05 25 / 0.4);
}

.spl-section--contact {
  border-top: 1px solid oklch(0.94 0.03 80 / 0.1);
  background: oklch(0.26 0.05 25 / 0.4);
}

.spl-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.6);
}

.spl-section-label__line {
  width: 2rem;
  height: 1px;
  background: oklch(0.94 0.03 80 / 0.4);
}

.spl-heading {
  margin: 1.5rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.spl-grid-2 {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .spl-grid-2 {
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
  }

  .spl-grid-2--events {
    grid-template-columns: 1fr 1.6fr;
  }

  .spl-grid-2--contact {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.spl-prose {
  display: grid;
  gap: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: oklch(0.94 0.03 80 / 0.9);
}

@media (min-width: 768px) {
  .spl-prose {
    font-size: 1.125rem;
  }
}

.spl-prose strong {
  font-weight: 500;
  color: var(--foreground);
}

/* Gallery */
.spl-gallery {
  padding: 0 1rem 6rem;
}

@media (min-width: 768px) {
  .spl-gallery {
    padding-inline: 2rem;
  }
}

.spl-gallery__label {
  margin: 0 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.6);
}

.spl-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .spl-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.spl-gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
}

@media (min-width: 768px) {
  .spl-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.spl-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.spl-gallery__item:hover img {
  transform: scale(1.05);
}

.ratio-4-5 {
  aspect-ratio: 4 / 5;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-3-4 {
  aspect-ratio: 3 / 4;
}

.spl-gallery__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(to top, rgb(0 0 0 / 0.7), transparent);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.9);
  opacity: 0;
  transition: opacity 0.3s;
}

.spl-gallery__item:hover .spl-gallery__caption {
  opacity: 1;
}

/* Menu */
.spl-menu__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .spl-menu__intro {
    flex-direction: row;
    align-items: flex-end;
  }
}

.spl-menu__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .spl-menu__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3.5rem;
  }
}

.spl-menu__group-title {
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid oklch(0.94 0.03 80 / 0.2);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
}

.spl-menu__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.spl-menu__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: oklch(0.94 0.03 80 / 0.9);
}

.spl-menu__bullet {
  flex-shrink: 0;
  width: 0.75rem;
  height: 3px;
  margin-top: 0.55rem;
  background: var(--primary);
}

.spl-menu__note {
  margin: 3.5rem 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.6);
}

/* Events */
.spl-events__list {
  display: grid;
  gap: 1px;
}

.spl-event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid oklch(0.94 0.03 80 / 0.15);
}

@media (min-width: 768px) {
  .spl-event {
    grid-template-columns: auto 1fr auto;
    gap: 2.5rem;
    padding-block: 2.25rem;
  }
}

.spl-event:last-child {
  border-bottom: 1px solid var(--border);
}

.spl-event__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: oklch(0.94 0.03 80 / 0.5);
}

.spl-event__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spl-event__desc {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: oklch(0.94 0.03 80 / 0.8);
}

.spl-event__cta {
  display: none;
  align-self: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.7);
  transition: color 0.2s;
}

.spl-event__cta:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .spl-event__cta {
    display: inline;
  }
}

/* Contact */
.spl-contact__blocks {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .spl-contact__blocks {
    font-size: 1.125rem;
  }
}

.spl-contact__label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.55);
}

.spl-contact__value {
  margin: 0.5rem 0 0;
}

.spl-link-underline {
  display: inline-block;
  border-bottom: 1px solid oklch(0.94 0.03 80 / 0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}

.spl-link-underline:hover {
  border-color: var(--foreground);
  color: var(--primary);
}

.spl-map {
  overflow: hidden;
  border: 1px solid oklch(0.94 0.03 80 / 0.15);
  border-radius: var(--radius);
}

.spl-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  filter: grayscale(0.8) contrast(1.05) brightness(0.85);
}

@media (min-width: 768px) {
  .spl-map iframe {
    min-height: 520px;
    height: 100%;
  }
}

/* Footer */
.spl-footer {
  border-top: 1px solid oklch(0.94 0.03 80 / 0.1);
  padding: 2.5rem 1rem;
}

@media (min-width: 768px) {
  .spl-footer {
    padding-inline: 2rem;
  }
}

.spl-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: oklch(0.94 0.03 80 / 0.6);
}

@media (min-width: 768px) {
  .spl-footer__inner {
    flex-direction: row;
  }
}

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

.spl-footer__links a:hover {
  color: var(--foreground);
}

/* Cookie bar */
.spl-cookie {
  position: fixed;
  z-index: 50;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  max-width: 900px;
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid oklch(0.94 0.03 80 / 0.2);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--wine);
}

.spl-cookie[hidden] {
  display: none !important;
}

@media (min-width: 768px) {
  .spl-cookie {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
  }
}

.spl-cookie p {
  margin: 0;
  font-size: 0.875rem;
}

.spl-cookie__btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: 1px solid oklch(0.22 0.05 25 / 0.6);
  border-radius: var(--radius);
  background: transparent;
  color: var(--wine);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.spl-cookie__btn:hover {
  background: var(--wine);
  color: var(--cream);
}

/* Fallback blog page */
.spl-blog {
  padding: 4rem 1rem;
}

.spl-blog h1 {
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.spl-blog .spl-prose a {
  border-bottom: 1px solid var(--border);
}

.spl-blog .spl-prose a:hover {
  color: var(--primary);
}
