/* Sydamenhohde — Global styles (library-first) */

:root {
  --sh-bg: #F9F7F2;
  --sh-surface: #FFFFFF;
  --sh-text: #1A1A1A;
  --sh-muted: #6C6C6C;
  --sh-primary: #7B1F3A;
  --sh-secondary: #D4AF37;
  --sh-dark: #141414;
  --sh-cream: #F2EFE9;
  --sh-gold: #C5A028;
  --sh-wine: #6B1830;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--sh-bg);
  color: var(--sh-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Typography helpers */
.sh-display {
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.sh-display-2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.sh-lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--sh-muted);
}

.sh-text-gold { color: var(--sh-secondary); }
.sh-text-wine { color: var(--sh-primary); }
.sh-bg-wine { background-color: var(--sh-primary); }
.sh-bg-dark { background-color: var(--sh-dark); }
.sh-bg-cream { background-color: var(--sh-cream); }

/* Section base */
.sh-section {
  position: relative;
  overflow: hidden;
}

.sh-section-padded {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 992px) {
  .sh-section-padded {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.sh-section-dark {
  color: #fff;
}

.sh-section-dark .sh-lead,
.sh-section-dark .text-muted {
  color: rgba(255,255,255,0.75) !important;
}

/* Background images */
.sh-bg-img {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* Hero */
.sh-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sh-hero .sh-hero-body {
  flex: 1;
  display: flex;
  align-items: center;
}

.sh-hero-console {
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* Bento grid */
.sh-bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

.sh-bento .btn {
  white-space: normal;
}

@media (min-width: 992px) {
  .sh-bento {
    grid-template-columns: repeat(12, 1fr);
  }
  .sh-bento .sh-bento-main { grid-column: span 7; }
  .sh-bento .sh-bento-media { grid-column: span 5; }
  .sh-bento .sh-bento-widget { grid-column: span 4; }
}

.sh-bento-cell {
  background: var(--sh-surface);
  border-radius: 1.5rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

/* Lookbook floating grid */
.sh-lookbook {
  display: grid;
  gap: 1rem;
}

@media (min-width: 992px) {
  .sh-lookbook {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }
  .sh-lookbook .sh-lookbook-tall { grid-row: span 2; }
  .sh-lookbook .sh-lookbook-wide { grid-column: span 2; }
}

.sh-lookbook-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: var(--sh-cream);
  min-height: 220px;
}

.sh-lookbook-item img,
.sh-lookbook-item .sh-bg-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .6s ease;
}

.sh-lookbook-item:hover img,
.sh-lookbook-item:hover .sh-bg-img {
  transform: scale(1.05);
}

/* Masonry */
.sh-masonry {
  column-count: 1;
  column-gap: 1.25rem;
}

@media (min-width: 768px) { .sh-masonry { column-count: 2; } }

.sh-masonry .card {
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

/* Radar / circular steps */
.sh-radar {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .sh-radar-label { display: none; }
}

@media (min-width: 992px) {
  .sh-radar {
    width: 420px;
    height: 420px;
  }
}

.sh-radar-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
}

.sh-radar-node {
  position: absolute;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--sh-secondary);
  transform: translate(-50%, -50%);
}

.sh-radar-label {
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
}

/* Sticky stack */
.sh-stack-card {
  position: sticky;
  top: 5vh;
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  overflow: hidden;
}

/* Pricing cards */
.sh-pricing-card {
  background: var(--sh-surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.sh-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
}

.sh-pricing-featured {
  border-color: var(--sh-secondary);
}

/* Service accordion */
.sh-accordion-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  transition: background .25s ease;
}

.sh-accordion-item:hover {
  background: rgba(0,0,0,0.02);
}

.sh-accordion-item .sh-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}

.sh-accordion-item.active .sh-accordion-body {
  max-height: 500px;
}

/* Metrics giant type */
.sh-giant-num {
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
}

/* Forms */
.sh-form-control {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  background: transparent;
  padding: 1rem 0;
  font-size: 1.1rem;
}

.sh-form-control:focus {
  outline: none;
  border-color: var(--sh-primary);
  box-shadow: none;
  background: transparent;
}

/* Cookie banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1080;
  background: var(--sh-surface);
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Back-to-top */
.sh-back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1040;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sh-primary);
  color: #fff;
  border: none;
}

/* Custom cursor badge */
.sh-cursor-badge {
  pointer-events: none;
  position: fixed;
  z-index: 9999;
  padding: .5rem .75rem;
  background: var(--sh-primary);
  color: #fff;
  border-radius: 2rem;
  font-size: .8rem;
  opacity: 0;
  transition: opacity .15s ease;
}

.sh-cursor-badge.visible {
  opacity: 1;
}

/* Timeline */
.sh-timeline {
  position: relative;
}

.sh-timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.15);
}

.sh-timeline-item {
  padding-left: 2.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.sh-timeline-dot {
  position: absolute;
  left: 0.55rem;
  top: .25rem;
  width: .9rem;
  height: .9rem;
  border-radius: 50%;
  background: var(--sh-primary);
}

/* Magnetic CTA */
.sh-magnetic-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--sh-primary);
  color: #fff;
  font-weight: 700;
  transition: transform .15s ease;
}

.sh-magnetic-ring {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--sh-secondary);
  border-radius: 50%;
  animation: sh-pulse 2s infinite;
}

@keyframes sh-pulse {
  0% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.08); opacity: .3; }
  100% { transform: scale(1); opacity: .6; }
}

/* Footer */
.sh-footer-legal {
  font-size: .875rem;
  color: var(--sh-muted);
}

.sh-footer-id {
  display: inline;
}

/* Decorative pills / badges */
.sh-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .8rem;
  border-radius: 2rem;
  border: 1px solid currentColor;
  font-size: .8rem;
  font-weight: 600;
}

/* Horizontal scroll for mobile sprint lists */
.sh-hscroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}

.sh-hscroll > * {
  flex: 0 0 85%;
  scroll-snap-align: start;
}

/* Image containers with empty src */
.sh-img-frame {
  background-color: var(--sh-cream);
  border-radius: 1.25rem;
  overflow: hidden;
}

.sh-img-frame img,
.sh-img-frame .sh-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide desktop-only elements on mobile */
@media (max-width: 991.98px) {
  .sh-d-none-mobile { display: none !important; }
}
