/* ============================================================
   SOUL WAVES: Global Stylesheet
   Self-hosted fonts. No Google CDN. DSGVO compliant.
   ============================================================ */

/* ---- Font: Great Vibes 400 ---- */
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/great-vibes-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/great-vibes-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Font: Tsukimi Rounded 400 ---- */
@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/tsukimi-rounded-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/tsukimi-rounded-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Font: Tsukimi Rounded 500 ---- */
@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/tsukimi-rounded-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/tsukimi-rounded-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Font: Courier Prime 400 (Frieda widget only) ---- */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/courier-prime-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/courier-prime-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Font: Zodiak Variable (hero h1 only) ---- */
@font-face {
  font-family: 'Zodiak';
  src: url('../fonts/Zodiak-Variable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   Brand Tokens
   ============================================================ */

:root {
  --sw-brown: #44140D;
  --sw-cream: #FFF8EC;
  --sw-red: #B38728;
  --sw-copper: #BF953F;
  --sw-sand: #E6CCB2;

  --sw-copper-hover: #AA771C;
  --sw-dark: #1A0A0A;

  --font-display: 'Great Vibes', cursive;
  --font-headline: 'Zodiak', Georgia, serif;
  --font-body: 'Tsukimi Rounded', sans-serif;
  --font-mono: 'Courier Prime', monospace;
}

/* ============================================================
   Base Reset
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--sw-cream);
  color: var(--sw-brown);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Typography Scale
   ============================================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--sw-brown);
  line-height: 1.25;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
}

a {
  color: var(--sw-red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sw-copper);
}

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


/* ============================================================
   CTA Buttons
   ============================================================ */

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
  background-size: 400% 400%;
  animation: gold-shimmer 15s ease infinite;
  color: var(--sw-brown);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.75rem 1.75rem;
  border-radius: 7px;
  border: 1px solid rgba(68, 20, 13, 0.1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.02);
  color: #44140D;
  border-color: transparent !important;
  box-shadow: 0 0 25px rgba(191, 149, 63, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--sw-copper);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.7rem 1.6rem;
  border-radius: 7px;
  border: 1.5px solid var(--sw-copper);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--sw-copper);
  color: var(--sw-cream);
  box-shadow: 0 0 20px rgba(197, 120, 60, 0.4);
  transform: scale(1.02);
}

/* ============================================================
   Layout Utilities
   ============================================================ */

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: rgba(230, 204, 178, 0.25);
}

/* ============================================================
   Scroll Animation Base States
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* stagger delays for card groups */
.stagger-1 {
  transition-delay: 0.0s;
}

.stagger-2 {
  transition-delay: 0.1s;
}

.stagger-3 {
  transition-delay: 0.2s;
}

.stagger-4 {
  transition-delay: 0.3s;
}

/* ============================================================
   Focus States (WCAG 2.4.7 AA)
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--sw-copper);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--sw-copper);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(197, 120, 60, 0.2);
}

.sw-nav__logo:focus-visible {
  outline: 2px solid var(--sw-copper);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ============================================================
   Skip Navigation (WCAG 2.4.1)
   ============================================================ */

.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--sw-copper);
  color: var(--sw-cream);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 0;
  outline: none;
}

/* ============================================================
   Reduced Motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  .fade-up,
  .slide-left,
  .slide-right {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .btn-primary,
  .btn-secondary {
    transition: background-color 0.1s ease;
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

/* ============================================================
   Divider
   ============================================================ */

.divider {
  width: 48px;
  height: 2px;
  background-color: var(--sw-copper);
  margin: 1.25rem 0;
}

/* ============================================================
   Shimmer Keyframes
   ============================================================ */

@keyframes shimmer-sweep {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes shimmer-v {
  0% {
    background-position: center top;
  }

  100% {
    background-position: center bottom;
  }
}

.section--shimmer {
  background-image: linear-gradient(105deg, transparent 40%, rgba(197, 120, 60, 0.06) 50%, transparent 60%);
  background-size: 300% 100%;
  animation: shimmer-sweep 14s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .section--shimmer {
    animation: none;
    background-image: none;
  }
}

@keyframes gold-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   Copy-to-clipboard toast
   ============================================================ */

.copy-toast {
  position: fixed;
  background: transparent;
  color: var(--sw-copper);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  transform: translateX(-4px);
}

.copy-toast--show {
  opacity: 1;
  transform: translateX(0);
}

/* ---- Section seam gradients (dark↔cream transitions) ---- */
.section-seam {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
  line-height: 0;
  font-size: 0;
  position: relative;
  z-index: 0;
}

.section-seam--dark-to-light {
  height: 72px;
  background: linear-gradient(to bottom,
    rgba(26, 10, 10, 1.00)  0%,
    rgba(26, 10, 10, 0.68) 30%,
    rgba(26, 10, 10, 0.32) 62%,
    rgba(26, 10, 10, 0.07) 85%,
    rgba(26, 10, 10, 0.00) 100%
  );
}

.section-seam--light-to-dark {
  height: 72px;
  background: linear-gradient(to bottom,
    rgba(26, 10, 10, 0.00)  0%,
    rgba(26, 10, 10, 0.07) 15%,
    rgba(26, 10, 10, 0.32) 38%,
    rgba(26, 10, 10, 0.68) 70%,
    rgba(26, 10, 10, 1.00) 100%
  );
}

@media (max-width: 480px) {
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }
}