/* Arschkäse Orakel Site V3 - more cheese */

:root {
  --yellow: #f6c542;
  --yellow-soft: #ffe58a;
  --yellow-deep: #efb81c;
  --cream: #fff8e6;
  --white: #ffffff;
  --black: #17110c;
  --brown: #3b2616;
  --muted: rgba(23, 17, 12, .66);
  --line: rgba(23, 17, 12, .14);
  --shadow: 8px 8px 0 var(--black);
  --radius-xl: 40px;
  --radius-lg: 26px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--black);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 233, 128, .70), transparent 16rem),
    radial-gradient(circle at 88% 12%, rgba(246, 197, 66, .56), transparent 17rem),
    radial-gradient(circle at 24% 72%, rgba(255, 222, 94, .46), transparent 18rem),
    radial-gradient(circle at 78% 68%, rgba(239, 184, 28, .30), transparent 20rem),
    linear-gradient(180deg, #fffef8 0%, #fff5ce 36%, #fce17a 76%, #f4c73b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .48;
  background:
    radial-gradient(circle at 10% 8%, rgba(255,255,255,.65) 0 16px, transparent 18px),
    radial-gradient(circle at 22% 20%, rgba(255,255,255,.45) 0 12px, transparent 14px),
    radial-gradient(circle at 75% 22%, rgba(255,245,182,.55) 0 28px, transparent 31px),
    radial-gradient(circle at 48% 58%, rgba(255,255,255,.35) 0 18px, transparent 22px),
    radial-gradient(circle at 70% 76%, rgba(255,245,182,.60) 0 24px, transparent 27px),
    radial-gradient(circle at 16% 82%, rgba(255,255,255,.48) 0 20px, transparent 24px),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,240,170,.15) 0 8px, rgba(255,220,90,.10) 8px 18px, transparent 18px 30px);
  mix-blend-mode: multiply;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10%;
  pointer-events: none;
  z-index: 0;
  opacity: .18;
  background:
    conic-gradient(from 0deg at 50% 50%, rgba(255,240,170,.6), rgba(246,197,66,.05), rgba(255,240,170,.55), rgba(246,197,66,.08), rgba(255,240,170,.6));
  filter: blur(45px) saturate(1.1);
  transform: rotate(12deg) scale(1.1);
}

body::selection {
  background: var(--black);
  color: var(--yellow-soft);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: radial-gradient(rgba(23,17,12,.5) .8px, transparent .8px);
  background-size: 14px 14px;
  z-index: 0;
}

.veil {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(58px);
  opacity: .26;
  z-index: 0;
}

.veil.one {
  top: 180px;
  left: -170px;
  background: var(--yellow);
}

.veil.two {
  right: -180px;
  bottom: 110px;
  background: #ffd95a;
}

.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(var(--max), calc(100% - 28px));
  margin: 16px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(14px);
  box-shadow: 4px 4px 0 var(--black);
}

.brand,
.topbar a,
footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 950;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.05em;
}

.brand-sigil {
  width: 28px;
  height: 28px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--black);
  position: relative;
}

.brand-sigil::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--black);
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: .92rem;
}

nav a:hover {
  background: var(--yellow-soft);
}

main {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 34px;
  padding: 54px 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 950;
  color: rgba(23, 17, 12, .58);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(4.2rem, 13vw, 11rem);
  line-height: .76;
  letter-spacing: -0.105em;
  text-transform: uppercase;
}

.tagline {
  margin-bottom: 28px;
  max-width: 560px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  font-weight: 950;
  line-height: .98;
  letter-spacing: -0.065em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
  background: none;
  border: none;
}

.button:hover {
  transform: translate(3px, 3px) rotate(-1deg);
  filter: saturate(1.03);
}

.cheese-btn {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,245,182,.95) 0 8px, transparent 9px),
    radial-gradient(circle at 44% 58%, rgba(255,245,182,.92) 0 10px, transparent 11px),
    radial-gradient(circle at 74% 30%, rgba(255,245,182,.90) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 72%, rgba(255,245,182,.82) 0 11px, transparent 12px),
    linear-gradient(145deg, #ffe994 0%, #f6c542 58%, #eeb31c 100%);
  border: 2px solid var(--black);
  box-shadow: 6px 6px 0 var(--black);
  color: var(--black);
  clip-path: polygon(5% 12%, 83% 2%, 100% 28%, 95% 83%, 18% 100%, 0% 68%);
}

.cheese-btn.dark {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,245,182,.95) 0 8px, transparent 9px),
    radial-gradient(circle at 44% 58%, rgba(255,245,182,.92) 0 10px, transparent 11px),
    radial-gradient(circle at 74% 30%, rgba(255,245,182,.90) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 72%, rgba(255,245,182,.82) 0 11px, transparent 12px),
    linear-gradient(145deg, #ffe375 0%, #f6c542 48%, #de9d00 100%);
}

.cheese-btn.light {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,210,.98) 0 8px, transparent 9px),
    radial-gradient(circle at 44% 58%, rgba(255,255,210,.95) 0 10px, transparent 11px),
    radial-gradient(circle at 74% 30%, rgba(255,255,210,.90) 0 7px, transparent 8px),
    radial-gradient(circle at 72% 72%, rgba(255,255,210,.86) 0 11px, transparent 12px),
    linear-gradient(145deg, #fff0a8 0%, #ffd961 52%, #efbc22 100%);
}

.cheese-btn span {
  position: relative;
  z-index: 2;
  display: inline-block;
  text-align: center;
  line-height: 1;
  text-wrap: balance;
}

.cheese-btn::before,
.cheese-btn::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 245, 182, .88);
  border: 1.6px solid rgba(23, 17, 12, .18);
  z-index: 1;
}

.cheese-btn::before {
  width: 16px;
  height: 16px;
  left: 16%;
  bottom: 18%;
}

.cheese-btn::after {
  width: 11px;
  height: 11px;
  right: 18%;
  top: 22%;
}

.cheese-a {
  min-width: 220px;
  min-height: 92px;
  padding: 18px 24px 18px 22px;
  transform: rotate(-4deg);
}
.cheese-a span { font-size: 1rem; }

.cheese-b {
  min-width: 184px;
  min-height: 74px;
  padding: 14px 20px;
  transform: rotate(5deg);
}
.cheese-b span { font-size: .95rem; }

.cheese-c {
  min-width: 260px;
  min-height: 110px;
  padding: 22px 26px;
  transform: rotate(-2deg);
}
.cheese-c span { font-size: 1.08rem; }

.cheese-d {
  min-width: 200px;
  min-height: 88px;
  padding: 18px 22px;
  transform: rotate(4deg);
}
.cheese-d span { font-size: 1rem; }

.cheese-e {
  min-width: 150px;
  min-height: 70px;
  padding: 14px 18px;
  transform: rotate(-5deg);
}
.cheese-e span { font-size: .94rem; }

.hero-image {
  min-height: 560px;
  display: grid;
  place-items: center;
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 40%, rgba(255,229,138,.88), transparent 18rem),
    repeating-radial-gradient(circle at 48% 50%, rgba(255,240,170,.35) 0 10px, rgba(246,197,66,.20) 10px 22px, transparent 22px 34px),
    linear-gradient(145deg, #fff 0%, #fff2be 100%);
  box-shadow: 12px 12px 0 var(--black);
  transform: rotate(.8deg);
}

.hero-image img {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
  border-radius: 24px;
  filter: drop-shadow(0 18px 18px rgba(23,17,12,.16));
}

.halo {
  position: absolute;
  width: 410px;
  height: 410px;
  border: 2px solid rgba(23,17,12,.16);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(246,197,66,.62), transparent 58%),
    repeating-radial-gradient(circle, rgba(255,240,170,.45) 0 10px, rgba(246,197,66,.18) 10px 22px, transparent 22px 34px);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(.95) rotate(0deg); opacity: .58; }
  50% { transform: scale(1.08) rotate(10deg); opacity: .82; }
}

.moving-line {
  margin: 8px 0 34px;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--cream);
}

.moving-line div {
  width: max-content;
  display: flex;
  gap: 28px;
  padding: 14px 20px;
  animation: slide 24s linear infinite;
}

.moving-line span {
  white-space: nowrap;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-45%); }
}

.statement {
  margin: 34px 0 74px;
  padding: 44px 28px;
  border: 2px solid var(--black);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,245,182,.55) 0 18px, transparent 19px),
    radial-gradient(circle at 80% 70%, rgba(255,245,182,.42) 0 24px, transparent 25px),
    rgba(255,255,255,.76);
  box-shadow: var(--shadow);
  text-align: center;
}

.statement p {
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--muted);
  font-weight: 850;
}

.statement h2 {
  margin: 0;
  font-size: clamp(4.3rem, 13vw, 10.5rem);
  line-height: .78;
  letter-spacing: -0.105em;
}

.oracle-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 22px;
  align-items: stretch;
  margin: 10px 0 88px;
}

.oracle-copy,
.oracle-output {
  border: 2px solid var(--black);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,245,182,.26) 0 18px, transparent 19px),
    radial-gradient(circle at 78% 76%, rgba(255,245,182,.22) 0 26px, transparent 27px),
    rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.oracle-copy {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oracle-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5.4vw, 5.6rem);
  line-height: .86;
  letter-spacing: -0.09em;
}

.oracle-copy p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.16rem;
  font-weight: 800;
}

.oracle-output {
  min-height: 480px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(246,197,66,.32), transparent 18rem),
    repeating-radial-gradient(circle at 46% 55%, rgba(255,240,170,.18) 0 8px, rgba(246,197,66,.10) 8px 18px, transparent 18px 30px),
    rgba(255,255,255,.78);
}

.empty-oracle {
  text-align: center;
}

.empty-oracle span {
  display: inline-grid;
  place-items: center;
  width: 112px;
  height: 112px;
  margin-bottom: 16px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--yellow-soft);
  box-shadow: 6px 6px 0 var(--black);
  font-size: 4rem;
  font-weight: 950;
}

.empty-oracle p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.oracle-card {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
  animation: reveal .38s cubic-bezier(.2,.9,.2,1);
}

@keyframes reveal {
  from { transform: scale(.95) rotate(-1deg); opacity: 0; filter: blur(8px); }
  to { transform: scale(1) rotate(0); opacity: 1; filter: blur(0); }
}

.text-card {
  padding: 34px;
}

.text-card span {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 9px 13px;
  border: 2px solid var(--black);
  border-radius: 999px;
  background: var(--yellow-soft);
  box-shadow: 4px 4px 0 var(--black);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .16em;
}

.text-card h3 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: .86;
  letter-spacing: -0.09em;
}

.text-card p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--black);
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.oracle-sigil-image {
  width: min(100%, 220px);
  max-height: 190px;
  object-fit: contain;
  margin-bottom: 22px;
  border: 2px solid var(--black);
  border-radius: 24px;
  background: #fff;
  box-shadow: 5px 5px 0 var(--black);
}

.gallery {
  padding: 24px 0 78px;
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: .82;
  letter-spacing: -0.095em;
}

.artifact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.artifact {
  grid-column: span 4;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 6px 6px 0 var(--black);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.artifact:hover,
.artifact:focus {
  outline: none;
  transform: translate(3px, 3px) rotate(-.45deg);
  box-shadow: 3px 3px 0 var(--black);
  filter: contrast(1.04);
}

.artifact:nth-child(1),
.artifact:nth-child(3),
.artifact:nth-child(5),
.artifact:nth-child(8) {
  grid-column: span 6;
}

.artifact img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--cream);
}

.artifact-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 15px;
  border-top: 2px solid var(--black);
}

.artifact-meta strong {
  font-size: 1rem;
  letter-spacing: -0.035em;
}

.artifact-meta span {
  max-width: 62%;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
  text-align: right;
}

.qr-ritual {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 22px;
  align-items: center;
  margin: 0 0 90px;
  padding: 24px;
  border: 2px solid var(--black);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,245,182,.48) 0 22px, transparent 23px),
    radial-gradient(circle at 80% 62%, rgba(255,245,182,.42) 0 18px, transparent 19px),
    linear-gradient(145deg, #fff0a5 0%, #ffd95a 58%, #f1bf2f 100%);
  box-shadow: 10px 10px 0 var(--black);
}

.qr-ritual h2 {
  margin-bottom: 12px;
  font-size: clamp(2.7rem, 6vw, 5.9rem);
  line-height: .84;
  letter-spacing: -0.095em;
}

.qr-ritual p:not(.eyebrow) {
  margin-bottom: 26px;
  color: rgba(23,17,12,.72);
  font-size: 1.18rem;
  font-weight: 850;
}

.qr-ritual figure {
  margin: 0;
  overflow: hidden;
  border: 2px solid var(--black);
  border-radius: 30px;
  background: #fff;
}

.qr-ritual img {
  display: block;
  width: 100%;
}

.final {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  padding-bottom: 62px;
}

.final h2 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(3.6rem, 10vw, 9rem);
  line-height: .78;
  letter-spacing: -0.105em;
}

footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: rgba(23,17,12,.62);
  font-weight: 850;
}

footer p {
  margin: 0;
}

.backtop {
  box-shadow: 5px 5px 0 var(--black);
}

@media (max-width: 960px) {
  .hero,
  .oracle-section,
  .qr-ritual {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-image {
    min-height: 420px;
    transform: none;
  }

  .artifact,
  .artifact:nth-child(1),
  .artifact:nth-child(3),
  .artifact:nth-child(5),
  .artifact:nth-child(8) {
    grid-column: span 6;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  footer {
    width: min(100% - 18px, var(--max));
  }

  .topbar {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cheese-a,
  .cheese-b,
  .cheese-c,
  .cheese-d,
  .cheese-e {
    width: 100%;
    min-width: 0;
    transform: rotate(0deg);
  }

  .hero-image {
    min-height: 320px;
    padding: 12px;
    border-radius: 30px;
    box-shadow: 7px 7px 0 var(--black);
  }

  .statement,
  .oracle-copy,
  .oracle-output,
  .qr-ritual {
    box-shadow: 7px 7px 0 var(--black);
  }

  .oracle-output {
    min-height: 360px;
  }

  .oracle-card {
    min-height: 310px;
  }

  .artifact-grid {
    grid-template-columns: 1fr;
  }

  .artifact,
  .artifact:nth-child(1),
  .artifact:nth-child(3),
  .artifact:nth-child(5),
  .artifact:nth-child(8) {
    grid-column: span 1;
  }

  .artifact-meta {
    flex-direction: column;
  }

  .artifact-meta span {
    max-width: none;
    text-align: left;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
