/* ═══════════════════════════════════════════════════════
   RAMSTA LUND HONUNG – style.css (v6 Clean Editorial Showcase)
════════════════════════════════════════════════════════ */

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

:root {
  --cr: #FDF6ED;
  --iv: #FFF9F2;
  --am: #D4820A;
  --hn: #C87941;
  --gd: #F0B429;
  --dk: #2D1204;
  --md: #7B4A1E;
  --lv: #C4A8E0;
  --gr: #4A6B28;
  
  --sr: 'Cormorant Garamond', Georgia, serif;
  --sc: 'Dancing Script', cursive;
  --ss: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(212, 130, 10, 0.18);
  --glass-shadow: 0 20px 40px -15px rgba(45, 18, 4, 0.07);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--cr);
}

body {
  background: var(--cr);
  color: var(--dk);
  font-family: var(--ss);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(240, 180, 41, 0.35);
  color: var(--dk);
}

/* ── AMBIENT CURSOR GLOW ────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240, 180, 41, 0.16) 0%, rgba(200, 121, 65, 0.06) 45%, transparent 75%);
  filter: blur(20px);
  transition: opacity 0.4s ease;
  opacity: 0;
}
body:hover .cursor-glow {
  opacity: 1;
}

/* ── STICKY HORIZONTAL ARCHITECTURE ─────────────────── */
#spacer {
  height: calc(5 * 100vh);
}

#viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  width: 100vw;
}

#track {
  display: flex;
  height: 100vh;
  width: calc(5 * 100vw);
  position: relative;
  will-change: transform;
  background: linear-gradient(
    90deg,
    #FDF6ED 0%,
    #FEF8EE 25%,
    #F9F3EA 50%,
    #FDF5EB 75%,
    #FFFAF4 100%
  );
}

#track::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='115'%3E%3Cpolygon points='50,3 97,27 97,88 50,112 3,88 3,27' fill='none' stroke='rgba(212,130,10,0.05)' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 72px 83px;
  pointer-events: none;
  z-index: 0;
}

/* ── PANELS ─────────────────────────────────────────── */
.panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

#p-hero::after    { content:''; position:absolute; inset:-20%; background:radial-gradient(ellipse at 50% 50%, rgba(240,180,41,0.14) 0%, transparent 60%); pointer-events:none; z-index:0; }
#p-honey::after   { content:''; position:absolute; inset:-20%; background:radial-gradient(ellipse at 50% 50%, rgba(200,121,65,0.12) 0%, transparent 60%); pointer-events:none; z-index:0; }
#p-hive::after    { content:''; position:absolute; inset:-20%; background:radial-gradient(ellipse at 50% 50%, rgba(74,107,40,0.09) 0%, transparent 60%); pointer-events:none; z-index:0; }
#p-gallery::after { content:''; position:absolute; inset:-20%; background:radial-gradient(ellipse at 50% 50%, rgba(212,130,10,0.13) 0%, transparent 60%); pointer-events:none; z-index:0; }
#p-contact::after { content:''; position:absolute; inset:-20%; background:radial-gradient(ellipse at 50% 50%, rgba(240,180,41,0.13) 0%, transparent 60%); pointer-events:none; z-index:0; }

#bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

#pollen-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
}

/* ── EDITORIAL SHARED COMPONENTS ────────────────────── */
.index-accent {
  font-family: var(--ss);
  font-weight: 600;
  color: var(--am);
  letter-spacing: 0.15em;
  margin-right: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--ss);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8C4700;
  padding: 6px 16px;
  border: 1px solid rgba(212, 130, 10, 0.2);
  border-radius: 100px;
  background: rgba(253, 246, 237, 0.85);
  backdrop-filter: blur(8px);
  width: fit-content;
  box-shadow: 0 4px 12px rgba(45, 18, 4, 0.03);
}

.panel-h {
  font-family: var(--sr);
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--dk);
  letter-spacing: -0.02em;
}
.panel-h em {
  font-family: var(--sr);
  font-style: italic;
  font-weight: 400;
  color: var(--hn);
  display: inline-block;
}

.panel-p {
  font-family: var(--ss);
  font-size: 0.95rem;
  font-weight: 400;
  color: #4D2B12;
  line-height: 1.8;
}

:focus-visible {
  outline: 2px solid var(--am);
  outline-offset: 3px;
}

.photo-card:focus-visible,
.honey-hero-card:focus-visible,
.hive-photo-strip:focus-visible,
.corner-logo:focus-visible,
.c-hex:focus-visible {
  outline: 2px solid var(--am);
  outline-offset: 4px;
  border-radius: 20px;
}

.mc-hex:focus-visible {
  outline: 2px solid var(--gd);
  outline-offset: 4px;
  transform: scale(1.18) translateY(-4px) !important;
  filter: brightness(1.15) drop-shadow(0 14px 26px rgba(200, 121, 65, 0.6)) !important;
  z-index: 20;
}

/* ═══ PANEL 1: HERO ═══════════════════════════════════ */
.origin-tag {
  position: absolute;
  top: 32px;
  right: 48px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--md);
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(253, 246, 237, 0.7);
  border: 1px solid rgba(212, 130, 10, 0.15);
  backdrop-filter: blur(8px);
}
.ot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--am);
  box-shadow: 0 0 8px var(--am);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-center {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  filter: drop-shadow(0 0 60px rgba(253,246,237,0.95));
}

.hero-eyebrow {
  font-family: var(--ss);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--md);
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(253, 246, 237, 0.85);
  border: 1px solid rgba(212, 130, 10, 0.15);
  backdrop-filter: blur(6px);
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
}
.ht-script {
  font-family: var(--sc);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: var(--hn);
  letter-spacing: 0.02em;
}
.ht-main {
  font-family: var(--sr);
  font-size: clamp(5.2rem, 13vw, 11.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 0.82;
  background: linear-gradient(155deg, #2D1204 0%, #7B4A1E 35%, #D4820A 70%, #F0B429 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-family: var(--sr);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--md);
  letter-spacing: 0.04em;
  max-width: 500px;
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  right: 52px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ss);
  font-size: 0.64rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--md);
}
.scroll-cue svg { width: 18px; color: var(--am); }
.cue-bar {
  width: 36px; height: 2px;
  background: rgba(123,74,30,0.2);
  border-radius: 2px;
  overflow: hidden;
}
.cue-fill {
  height: 100%;
  width: 14px;
  background: var(--am);
  border-radius: 2px;
  animation: cueSlide 1.8s ease-in-out infinite;
}
@keyframes cueSlide {
  0% { transform: translateX(-14px); opacity:0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(36px); opacity:0; }
}

/* ═══ PANEL 2: VÅR HONUNG (SLIMMED SINGLE HARVEST) ════ */
.honey-slim-layout {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 90px);
  padding: 0 7vw;
  width: 100%;
  max-width: 1360px;
}

.honey-slim-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 500px;
}

.honey-pillars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 130, 10, 0.2);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}
.hp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.hp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--am);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(212, 130, 10, 0.4);
}
.hp-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hp-item strong {
  font-family: var(--sr);
  font-size: 1.05rem;
  color: var(--dk);
  line-height: 1.2;
}
.hp-item small {
  font-size: 0.78rem;
  color: #6B401D;
  line-height: 1.4;
}

.honey-slim-media {
  flex-shrink: 0;
}
.honey-hero-card {
  position: relative;
  width: 320px;
  height: 410px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(45, 18, 4, 0.16);
  border: 1px solid rgba(212, 130, 10, 0.28);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.honey-hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 32px 64px rgba(200, 121, 65, 0.35);
}
.hhc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.honey-hero-card:hover .hhc-img {
  transform: scale(1.06);
}
.hhc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 18, 4, 0.85) 0%, rgba(45, 18, 4, 0.2) 50%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px;
  color: white;
}
.hhc-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hhc-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gd);
}
.hhc-title {
  font-family: var(--sr);
  font-size: 1.35rem;
  font-weight: 600;
}
.hhc-zoom-hint {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}

/* ═══ PANEL 3: KUPAN ══════════════════════════════════ */
.hive-layout {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  padding: 0 7vw;
  width: 100%;
  max-width: 1360px;
}

.mega-comb-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mega-comb {
  position: relative;
}

.mc-hex {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  color: white;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease;
  cursor: pointer;
  user-select: none;
}
.mc-hex:hover {
  transform: scale(1.18) translateY(-4px) !important;
  filter: brightness(1.15) drop-shadow(0 14px 26px rgba(200, 121, 65, 0.6)) !important;
  z-index: 20;
}
.mc-svg {
  width: 24px;
  height: 24px;
  color: white;
}
.mc-label {
  font-family: var(--sr);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comb-tooltip {
  width: 100%;
  max-width: 360px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 130, 10, 0.2);
  border-radius: 14px;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ct-tag {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--am);
  font-weight: 600;
}
.ct-title {
  font-family: var(--sr);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dk);
}
.ct-desc {
  font-size: 0.78rem;
  color: #5A3519;
  line-height: 1.45;
}

.hive-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
}

.hive-photo-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 130, 10, 0.18);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hive-photo-strip:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 121, 65, 0.2);
}
.hps-img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.hps-desc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hps-desc strong {
  font-family: var(--sr);
  font-size: 0.95rem;
  color: var(--dk);
}
.hps-desc span {
  font-size: 0.72rem;
  color: #6B401D;
  line-height: 1.4;
}

.hive-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 130, 10, 0.15);
}
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.spec-num {
  font-family: var(--sr);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--am);
  min-width: 90px;
}
.spec-desc {
  font-size: 0.82rem;
  color: #5A3519;
}

/* ═══ PANEL 4: GLIMTAR & FOTON (CLEAN EDITORIAL) ═════ */
.gallery-clean-layout {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 6vw;
  width: 100%;
  max-width: 1440px;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 130, 10, 0.15);
}
.gallery-title-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-sub-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: 440px;
  text-align: right;
}

.gallery-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 100px;
  background: rgba(253, 246, 237, 0.9);
  border: 1px solid rgba(212, 130, 10, 0.28);
  color: var(--am);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(45, 18, 4, 0.03);
}
.gallery-ig-link:hover {
  background: var(--am);
  color: white;
  border-color: var(--am);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 121, 65, 0.3);
}

/* Horizontal Photo Stream */
.photo-stream-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 16px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 130, 10, 0.3) transparent;
}
.photo-stream-wrap::-webkit-scrollbar {
  height: 5px;
}
.photo-stream-wrap::-webkit-scrollbar-thumb {
  background: rgba(212, 130, 10, 0.3);
  border-radius: 10px;
}

.photo-stream {
  display: flex;
  gap: 20px;
  width: max-content;
}

.photo-card {
  width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.28s ease;
}
.photo-card:hover {
  transform: translateY(-6px);
}
.pc-frame {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(45, 18, 4, 0.1);
  border: 1px solid rgba(212, 130, 10, 0.18);
  background: white;
}
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.photo-card:hover .pc-img {
  transform: scale(1.08);
}
.pc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 18, 4, 0.75) 0%, transparent 55%);
  opacity: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  color: white;
  transition: opacity 0.25s ease;
}
.photo-card:hover .pc-overlay {
  opacity: 1;
}
.pc-action {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gd);
  font-weight: 600;
}
.pc-caption {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.pc-caption strong {
  font-family: var(--sr);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--dk);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-caption small {
  font-size: 0.68rem;
  color: #6B401D;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-stream-hint {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--md);
  opacity: 0.65;
  text-align: center;
}

/* ═══ PANEL 5: GÅRDEN & KONTAKT ════════════════════════ */
.contact-layout {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 5vw, 80px);
  padding: 0 7vw;
  width: 100%;
  max-width: 1360px;
}

.contact-title-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
}
.highlight-p {
  padding-left: 16px;
  border-left: 2px solid var(--am);
  font-style: italic;
  color: var(--md);
}

.contact-hexes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.c-hex {
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  width: 150px;
  height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: white;
  text-align: center;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.28s ease;
  cursor: pointer;
}
.c-hex.big {
  width: 180px;
  height: 208px;
}
.c-hex:hover {
  transform: scale(1.08) translateY(-6px);
  filter: brightness(1.1) drop-shadow(0 16px 32px rgba(200, 121, 65, 0.5));
}

.cx-a { background: linear-gradient(150deg, #F0B429 0%, #D4820A 100%); }
.cx-b { background: linear-gradient(150deg, #C87941 0%, #6E3211 100%); }
.cx-c { background: linear-gradient(150deg, #E8B468 0%, #B86B2F 100%); }

.c-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-svg {
  width: 18px;
  height: 18px;
  color: white;
}
.c-label {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.c-val {
  font-family: var(--sr);
  font-size: 0.92rem;
  font-weight: 600;
  color: white;
  line-height: 1.3;
}
.c-sub {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.sig {
  font-family: var(--sr);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--md);
  opacity: 0.6;
  margin-top: 8px;
}

/* ── TOP PROGRESS BAR ───────────────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(212,130,10,0.1);
  z-index: 200;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gd), var(--am));
  width: 0%;
  transition: width 0.05s linear;
}

/* ── MODERN FLOATING CAPSULE NAVIGATION ─────────────── */
.capsule-nav {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(253, 246, 237, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 100px;
  border: 1px solid rgba(212, 130, 10, 0.2);
  box-shadow: 0 12px 36px rgba(45, 18, 4, 0.09);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--md);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--ss);
}
.nav-btn:hover {
  background: rgba(212, 130, 10, 0.08);
  color: var(--dk);
}
.nav-btn.active {
  background: var(--am);
  color: white;
  box-shadow: 0 4px 14px rgba(212, 130, 10, 0.35);
}
.nb-num {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.85;
}
.nb-name {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.nav-counter {
  padding-left: 10px;
  margin-left: 6px;
  border-left: 1px solid rgba(212, 130, 10, 0.2);
  font-family: var(--ss);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--md);
  letter-spacing: 0.1em;
}

/* ── CORNER MONOGRAM LOGO ───────────────────────────── */
.corner-logo {
  position: fixed;
  top: 28px;
  left: 36px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dk);
}
.cl-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(253, 246, 237, 0.9);
  border: 1px solid rgba(212, 130, 10, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sr);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--am);
  box-shadow: 0 4px 12px rgba(45, 18, 4, 0.04);
}
.cl-details {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}
.cl-script {
  font-family: var(--sc);
  font-size: 0.9rem;
  color: var(--hn);
}
.cl-word {
  font-family: var(--sr);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--dk);
}

/* ── CLEAN EDITORIAL LIGHTBOX ───────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 18, 4, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.lb-modal {
  position: relative;
  z-index: 2;
  display: flex;
  background: #FFFBF6;
  border-radius: 24px;
  overflow: hidden;
  max-width: 820px;
  width: 90vw;
  max-height: 85vh;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 130, 10, 0.25);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}
.lightbox.active .lb-modal {
  transform: scale(1);
}
.lb-close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 1.4rem;
  color: var(--dk);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-close:hover {
  background: white;
}
.lb-img-wrap {
  flex: 1.3;
  background: #2D1204;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#lb-img {
  width: 100%;
  height: 100%;
  max-height: 85vh;
  object-fit: contain;
}
.lb-info {
  flex: 1;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: #FFFBF6;
}
.lb-header-clean {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lb-loc {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am);
  font-weight: 600;
}
.lb-title {
  font-family: var(--sr);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dk);
  line-height: 1.15;
}
.lb-caption {
  font-size: 0.88rem;
  color: #5A3519;
  line-height: 1.65;
}
.lb-footer-clean {
  padding-top: 14px;
  border-top: 1px solid rgba(212, 130, 10, 0.15);
}
.lb-btn-clean {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(212, 130, 10, 0.08);
  color: var(--md);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.lb-btn-clean:hover {
  background: var(--am);
  color: white;
}

/* ── ACCESSIBILITY (PREFERS-REDUCED-MOTION) ──────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cue-fill {
    animation: none !important;
  }
  .cursor-glow {
    display: none !important;
  }
}


/* ── RESPONSIVE DESIGN (TABLET & MOBILE) ─────────────── */
@media (max-width: 1024px) {
  .honey-slim-layout, .hive-layout, .gallery-clean-layout, .contact-layout {
    gap: 28px;
    padding: 0 4vw;
  }
  .honey-hero-card {
    width: 260px;
    height: 330px;
  }
  .photo-card, .pc-frame {
    width: 190px;
    height: 190px;
  }
}

@media (max-width: 820px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  /* Ren vertikal dokumentstruktur på mobil */
  #spacer {
    height: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  #viewport {
    position: relative !important;
    height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #track {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }
  #bg-canvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0 !important;
  }

  .origin-tag {
    display: none;
  }

  .corner-logo {
    top: 16px;
    left: 18px;
  }
  .cl-details {
    display: none;
  }

  .panel {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 75px 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid rgba(212, 130, 10, 0.08);
  }

  #p-hero {
    min-height: 85vh !important;
    padding-top: 100px !important;
    padding-bottom: 50px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-center {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .scroll-cue {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 32px auto 0 !important;
    transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    text-align: center !important;
  }
  .scroll-cue svg {
    transform: rotate(90deg); /* Pilen pekar nedåt på mobil */
  }

  .honey-slim-layout, .hive-layout, .gallery-clean-layout, .contact-layout {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    overflow: visible !important;
    max-height: none !important;
    padding: 0 !important;
    gap: 26px !important;
    width: 100% !important;
    max-width: 520px !important;
    box-sizing: border-box !important;
  }

  .panel-h {
    font-size: clamp(2.2rem, 6.5vw, 3.4rem);
  }
  .panel-p {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .honey-slim-text, .hive-text, .contact-title-block {
    max-width: 100% !important;
    align-items: center !important;
    gap: 14px !important;
  }

  .honey-pillars {
    text-align: left;
    padding: 14px 18px;
    gap: 10px;
    width: 100%;
    max-width: 380px;
  }
  .hp-item strong {
    font-size: 0.95rem;
  }
  .hp-item small {
    font-size: 0.74rem;
  }

  .honey-hero-card {
    width: 260px !important;
    height: 220px !important;
    border-radius: 20px !important;
    margin-top: 8px !important;
  }

  .mega-comb-wrapper {
    display: none;
  }

  .hive-photo-strip {
    max-width: 380px;
    text-align: left;
    padding: 8px 12px;
  }
  .hive-specs {
    gap: 6px;
    width: 100%;
    max-width: 380px;
    padding-top: 8px;
  }
  .spec-row {
    justify-content: center;
    gap: 10px;
  }
  .spec-num {
    font-size: 1.15rem;
    min-width: 75px;
  }
  .spec-desc {
    font-size: 0.76rem;
  }

  .gallery-head {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    width: 100% !important;
  }
  .gallery-sub-group {
    align-items: center !important;
    text-align: center !important;
    max-width: 100% !important;
  }

  .photo-stream-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 10px 4px 16px 4px !important;
  }
  .photo-card, .pc-frame {
    width: 165px;
    height: 165px;
    border-radius: 16px;
  }

  .contact-hexes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
  }
  .c-hex {
    width: 110px;
    height: 126px;
    gap: 4px;
  }
  .c-hex.big {
    width: 110px;
    height: 126px;
  }
  .c-icon-wrap {
    width: 28px;
    height: 28px;
  }
  .c-svg {
    width: 14px;
    height: 14px;
  }
  .c-val {
    font-size: 0.74rem;
  }
  .c-label {
    font-size: 0.5rem;
  }
  .c-sub {
    display: none;
  }

  /* Lightbox Mobile */
  .lb-modal {
    flex-direction: column;
    max-height: 88vh;
    width: 92vw;
    border-radius: 20px;
  }
  .lb-img-wrap {
    height: 220px;
    max-height: 40vh;
  }
  .lb-info {
    padding: 20px 18px;
    gap: 14px;
  }
  .lb-title {
    font-size: 1.2rem;
  }
  .lb-caption {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Capsule Nav Mobile */
  .capsule-nav {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    padding: 4px 8px;
    gap: 2px;
  }
  .capsule-nav .nb-name {
    display: none;
  }
  .nav-counter {
    display: none;
  }
  .nav-btn {
    padding: 7px 12px;
  }
  .nb-num {
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .hero-title .ht-script {
    font-size: 2.2rem;
  }
  .hero-title .ht-main {
    font-size: clamp(3rem, 14vw, 4.4rem);
    letter-spacing: 0.06em;
  }
  .hero-sub {
    font-size: 0.92rem;
    padding: 0 16px;
  }
  .scroll-cue {
    margin: 24px auto 0 !important;
    font-size: 0.6rem !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
  }
  .honey-hero-card {
    width: 220px !important;
    height: 190px !important;
  }
  .photo-card, .pc-frame {
    width: 145px;
    height: 145px;
  }
}
