/* Sunlight-filter futurism: dawn palette, bento clarity, glass accents */

:root {
  --color-bg-base: #f4f7f6;
  --color-bg-soft: #eef4f3;
  --color-text: #1c1a17;
  --color-accent-warm: #fceade;
  --color-accent-sky: #d2e2e6;
  --color-glass: rgba(244, 247, 246, 0.58);
  --color-glass-edge: rgba(28, 26, 23, 0.08);
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --space-xs: 0.35rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3.5rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --shadow-soft: 0 1rem 3rem rgba(28, 26, 23, 0.06);
  --shadow-lift: 0 0.5rem 1.25rem rgba(28, 26, 23, 0.08);
  --transition-fast: 0.28s ease;
  --transition-slow: 1.2s ease;
  --header-blur: 1.125rem;
  --banner-shift-hue: 12deg;
  --banner-shift-lit: 1;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(
      165deg,
      #f4f7f6 0%,
      #eef6f5 38%,
      #f8f3ee 72%,
      #eef3f6 100%
    )
    fixed;
  background-size: 140% 140%;
  animation: sky-shift 28s var(--transition-slow) infinite alternate;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

@keyframes sky-shift {
  0% {
    background-position: 0% 20%;
    filter: hue-rotate(0deg);
  }
  100% {
    background-position: 100% 80%;
    filter: hue-rotate(var(--banner-shift-hue));
  }
}

body[data-chrono-tone="soft"] {
  --banner-shift-hue: -8deg;
}

body[data-chrono-tone="bright"] {
  --banner-shift-hue: 22deg;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #3a6f7c;
}

:focus-visible {
  outline: 0.15rem solid var(--color-accent-sky);
  outline-offset: 0.15rem;
}

.skip-link {
  position: absolute;
  left: -999rem;
  top: 0;
  background: var(--color-text);
  color: var(--color-bg-base);
  padding: var(--space-sm) var(--space-md);
  z-index: 100;
}

.skip-link:focus {
  left: var(--space-md);
}

.site-header {
  width: 100%;
  position: relative;
  z-index: 40;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.site-header.is-compact {
  transform: translateY(-18%);
  opacity: 0.88;
}

.header-shell {
  width: min(96%, 72rem);
  margin: 0 auto;
  padding: var(--space-md) 0 var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand-text-link {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

.primary-navigation {
  display: none;
  flex: 1;
  justify-content: center;
}

.nav-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-lg);
  list-style: none;
  margin: 0;
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-glass);
  backdrop-filter: blur(var(--header-blur));
  border: 0.0625rem solid var(--color-glass-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.nav-link-row a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.burger-toggle {
  order: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  border: 0.0625rem solid var(--color-glass-edge);
  background: var(--color-accent-warm);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  box-shadow: var(--shadow-lift);
}

.burger-toggle .burger-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.offcanvas-panel {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
}

.offcanvas-panel.is-open {
  pointer-events: auto;
}

.offcanvas-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 23, 0.35);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.offcanvas-panel.is-open .offcanvas-backdrop {
  opacity: 1;
}

.offcanvas-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 20rem);
  height: 100%;
  background: var(--color-bg-base);
  border-left: 0.0625rem solid var(--color-glass-edge);
  box-shadow: var(--shadow-soft);
  transform: translateX(100%);
  transition: transform var(--transition-fast);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.offcanvas-panel.is-open .offcanvas-sheet {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-list a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
}

.offcanvas-close {
  align-self: flex-end;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 64rem) {
  .primary-navigation {
    display: flex;
  }

  .burger-toggle {
    display: none;
  }

  .offcanvas-panel {
    display: none;
  }
}

main {
  width: 100%;
}

.section-inner {
  width: min(92%, 68rem);
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.section-heading {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 var(--space-md);
}

.section-lead {
  max-width: 42rem;
  margin: 0 0 var(--space-lg);
  font-size: 1.05rem;
}

.banner-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: var(--space-xl) 0 calc(var(--space-xl) * 1.1);
  background: linear-gradient(
      185deg,
      rgba(252, 234, 222, 0.65),
      rgba(210, 226, 230, 0.35)
    ),
    var(--color-bg-soft);
  border-bottom: 0.0625rem solid var(--color-glass-edge);
}

.banner-stack {
  width: min(92%, 68rem);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.banner-copy-block {
  order: 1;
}

.banner-visual-block {
  order: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid var(--color-glass-edge);
  box-shadow: var(--shadow-soft);
  background: var(--color-glass);
  backdrop-filter: blur(0.875rem);
}

.banner-photo-frame {
  width: 100%;
  max-height: min(42vh, 22rem);
  overflow: hidden;
}

.banner-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 var(--space-sm);
  opacity: 0.82;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-md);
  line-height: 1.12;
}

.hero-note {
  max-width: 36rem;
  margin: 0 0 var(--space-lg);
}

.button-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  border: 0.0625rem solid transparent;
  background: var(--color-accent-sky);
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-lift);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-md);
  border: 0.0625rem dashed var(--color-glass-edge);
  background: transparent;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
}

.bento-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-glass);
  backdrop-filter: blur(1rem);
  border: 0.0625rem solid var(--color-glass-edge);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bento-card h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.bento-card p {
  margin: 0;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-lg);
  align-items: center;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid var(--color-glass-edge);
  box-shadow: var(--shadow-soft);
  max-height: min(38vh, 20rem);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-lg);
}

.column-panel {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--color-glass-edge);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(0.75rem);
}

.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-lg) 0 calc(var(--space-xl) * 1.1);
  border-top: 0.0625rem solid var(--color-glass-edge);
  background: rgba(244, 247, 246, 0.85);
}

.footer-inner {
  width: min(92%, 68rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: space-between;
  align-items: flex-start;
}

.footer-note {
  max-width: 22rem;
  margin: 0;
  font-size: 0.92rem;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.legal-inline-nav {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 0.0625rem solid var(--color-glass-edge);
}

.meta-row {
  font-size: 0.88rem;
  opacity: 0.85;
}

.cookie-overlay {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  max-width: 26rem;
  margin-left: auto;
  z-index: 60;
  background: var(--color-glass);
  backdrop-filter: blur(1.375rem);
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--color-glass-edge);
  box-shadow: var(--shadow-soft);
  padding: var(--space-lg);
  display: none;
}

.cookie-overlay.is-visible {
  display: block;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.form-panel {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--color-glass-edge);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(0.875rem);
}

.form-grid {
  display: grid;
  gap: var(--space-md);
}

.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.field-input,
.field-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 0.0625rem solid var(--color-glass-edge);
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.85);
}

.field-textarea {
  min-height: 9rem;
  resize: vertical;
}

.consent-row {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.map-embed {
  border: none;
  width: 100%;
  min-height: 16rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-lg);
}

.product-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--color-glass-edge);
  background: var(--color-glass);
  backdrop-filter: blur(0.875rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.price-tag {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.anchor-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: var(--space-md);
}

.anchor-slot {
  min-height: 11rem;
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  border: 0.125rem dashed rgba(28, 26, 23, 0.18);
  background: rgba(255, 255, 255, 0.35);
}

.anchor-slot.is-active {
  border-style: solid;
  border-color: var(--color-accent-sky);
}

.growth-deck {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.draggable-chip {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-accent-warm);
  border: 0.0625rem solid var(--color-glass-edge);
  cursor: grab;
  font-weight: 600;
  font-size: 0.92rem;
}

.draggable-chip:active {
  cursor: grabbing;
}

.sidebar-meter {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--color-glass-edge);
  background: rgba(210, 226, 230, 0.35);
}

.meter-track {
  width: 100%;
  height: 0.55rem;
  border-radius: 999rem;
  background: rgba(28, 26, 23, 0.08);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 18%;
  border-radius: inherit;
  background: linear-gradient(90deg, #cbe4ea, #f7dfd2);
  transition: width var(--transition-fast);
}

.dual-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-lg);
}

.slider-panel label {
  font-weight: 700;
}

.wake-slider {
  width: 100%;
}

.audio-stage {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid var(--color-glass-edge);
}

.audio-pulse {
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle,
    rgba(252, 234, 222, 0.55),
    transparent 62%
  );
  animation: breathe 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.82;
  }
}

.audio-controls {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.timer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.timer-buttons button {
  padding: 0.85rem 1.4rem;
  border-radius: 999rem;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  background: var(--color-accent-warm);
  box-shadow: var(--shadow-lift);
}

.round-play {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  background: var(--color-accent-sky);
  box-shadow: var(--shadow-soft);
}

.round-play i {
  font-size: 1.35rem;
  line-height: 1;
}

.audio-status {
  font-size: 0.95rem;
}

.analog-module {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 0.0625rem solid var(--color-text);
  background: #fdfdfb;
}

.analog-module h3 {
  margin-top: 0;
  font-family: var(--font-display);
}

.analog-print-root {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.analog-print-surface {
  width: 100%;
  max-width: 49rem;
  min-height: 70rem;
  padding: 6%;
  background: #fff;
  color: #111;
  font-family: var(--font-body);
}

.analog-print-surface h1 {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 1.5rem;
}

.analog-print-surface ul {
  padding-left: 1rem;
}

@media print {
  body {
    background: #fff;
    animation: none;
  }

  body * {
    visibility: hidden;
  }

  .analog-print-root,
  .analog-print-root * {
    visibility: visible;
  }

  .analog-print-root {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    overflow: visible;
  }

  .site-header,
  .site-footer,
  .cookie-overlay,
  .offcanvas-panel {
    display: none !important;
  }
}

.legal-article {
  width: min(92%, 48rem);
  margin: 0 auto;
  padding-bottom: var(--space-xl);
}

.legal-article h1 {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.legal-article h2 {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
}

.status-page {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.pulse-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--color-accent-sky);
  display: inline-block;
  animation: breathe 4s ease-in-out infinite;
}
