/* ============================================
   Ombrella.Kite — Design Tokens
   Sunrise theme: cream, dawn orange, peach, golden light, coral accent
   ============================================ */

:root {
  --fjord: #FFE0C4;
  --fjord-light: #FFD0A6;
  --sand: #FFE6BF;
  --sand-dark: #FFCF94;
  --foam: #FFF7EC;
  --dawn-rose: #FFD3AE;
  --dawn-peach: #FFE4C9;
  --dawn-gold: #FFDB9F;
  --wind: #6F5B49;
  --signal: #D44D31;
  --signal-text: #B93C1B;
  --ink: #24404C;
  --ink-soft: #46646F;
  --on-dark: #FFFBF4;

  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;

  --max-w: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }

p { max-width: 38em; }

.eyebrow-free { /* marker class: intentionally no eyebrow labels used */ }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 248, 238, 0.8);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-bottom: 1px solid rgba(36, 64, 76, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 248, 238, 0.72);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  box-shadow: 0 8px 24px rgba(36, 64, 76, 0.16);
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-6px);
  background: rgba(252, 228, 204, 0.82);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border: 1px solid rgba(36, 64, 76, 0.14);
  box-shadow: 0 14px 28px rgba(36, 64, 76, 0.16);
  min-width: 210px;
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--fjord);
  color: var(--ink);
}

@media (max-width: 1100px) {
  .nav-item {
    position: static;
  }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: 0;
    display: none;
  }
  .main-nav.open .dropdown {
    display: block;
  }
  .dropdown a {
    padding: 0.7rem var(--gutter);
    border-top: 1px solid rgba(36, 64, 76,0.1);
  }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  height: 32px;
  width: auto;
  display: block;
}

footer .logo-icon {
  height: 38px;
}

.logo .dot { color: var(--signal-text); }

.main-nav {
  display: flex;
  gap: 2.2rem;
}

.main-nav a {
  font-size: 0.98rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.main-nav a.active {
  color: var(--signal-text);
}

.main-nav a:not(.active):hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 96px);
    background: rgba(255, 248, 238, 0.97);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(36, 64, 76,0.14);
    box-shadow: 0 20px 40px rgba(36, 64, 76, 0.16);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    padding-bottom: 0.5rem;
    z-index: 60;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav a {
    padding: 0.85rem var(--gutter);
    border-top: 1px solid rgba(36, 64, 76,0.1);
  }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.btn:hover {
  box-shadow: 0 10px 24px rgba(36, 64, 76, 0.16);
}

.btn-primary {
  background: var(--signal);
  border-color: var(--signal-text);
  color: var(--on-dark);
}
.btn-primary:hover { background: #BF4228; border-color: #BF4228; }

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--fjord); }

.btn-ghost-light {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost-light:hover { background: var(--on-dark); color: #24404C; }

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

@media (max-width: 560px) {
  .cta-row {
    flex-direction: column;
  }
  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }
  form .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Hero (diagonal split) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(110,62,38,0.50) 0%, rgba(170,92,48,0.28) 50%, rgba(140,72,34,0.56) 100%);
}

.hero-split {
  position: relative;
}

.hero-bg svg { width: 100%; height: 100%; }

.hero-content {
  --ink: var(--on-dark);
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem var(--gutter) 4rem;
}

.hero-content > * {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .cta-row {
  justify-content: center;
}

@media (max-width: 640px) {
  .hero-content {
    padding: 4.5rem var(--gutter) 3rem;
  }
}

.hero-content h1 {
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(14,58,70,0.35);
}

.hero-content .lede {
  margin-top: 1.4rem;
  font-size: 1.15rem;
  max-width: 34em;
  color: #F4F1EA;
  text-shadow: 0 1px 12px rgba(14,58,70,0.4);
}

/* ---------- Sections ---------- */

section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  section {
    padding: 3.2rem 0;
  }
}

.hero {
  z-index: auto;
}

footer {
  position: relative;
  z-index: 1;
}

.section-fjord {
  background: linear-gradient(180deg, var(--dawn-rose) 0%, var(--fjord) 45%, var(--dawn-peach) 100%);
  color: var(--ink);
}

.section-fjord h2, .section-fjord h3 { color: var(--ink); }
.section-fjord p { color: var(--ink-soft); }

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.section-head p {
  max-width: 30em;
  margin-left: auto;
  margin-right: auto;
  color: var(--wind);
}

.section-fjord .section-head p { color: var(--ink-soft); }

/* Feature strip — divided by vertical rules, not cards */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.feature-strip > div {
  padding: 0 2.2rem;
  border-left: 1px solid rgba(36, 64, 76,0.2);
  text-align: center;
}

.feature-strip > div:first-child {
  border-left: none;
  padding-left: 0;
}

.feature-strip h3 {
  margin-bottom: 0.9rem;
}

.feature-strip p {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 860px) {
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .feature-strip > div {
    border-left: none;
    padding: 0;
    border-top: 1px solid rgba(36, 64, 76,0.18);
    padding-top: 1.8rem;
  }
  .section-fjord .feature-strip > div {
    border-top: 1px solid rgba(36, 64, 76,0.18);
  }
  .feature-strip > div:first-child { border-top: none; padding-top: 0; }
}

/* Diagonal divider between sections */
.wind-divider {
  height: 64px;
  width: 100%;
  display: block;
}

/* ---------- Camp blocks (bordered, accent bar — no rounded cards) ---------- */

.camp-block {
  border: 1px solid rgba(36, 64, 76,0.14);
  border-top: 5px solid var(--signal);
  padding: 2.4rem clamp(1.5rem, 4vw, 3rem) 2.6rem;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.3rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.camp-block .tag {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--signal-text);
  margin-bottom: 0.6rem;
}

.camp-block p {
  margin-left: auto;
  margin-right: auto;
}

/* Web version: the three formats side by side */
@media (min-width: 901px) {
  .camp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: stretch;
  }
  .camp-grid .camp-block {
    max-width: none;
    margin: 0;
    padding: 2rem 1.5rem 2.2rem;
  }
  .camp-grid .camp-block .media-block {
    max-width: 170px;
    min-height: 0;
  }
}


/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(180deg, var(--dawn-peach) 0%, var(--dawn-gold) 100%);
  padding: 4.5rem 0;
}

.cta-banner .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}

.cta-banner h2 { max-width: 16ch; }

.cta-banner p { max-width: 56ch; }

.cta-banner .cta-row { justify-content: center; }

/* ---------- Team / about blocks ---------- */

.story-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.pull-line {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: var(--ink);
  border-left: none;
  border-top: 4px solid var(--signal);
  padding-left: 0;
  padding-top: 1.1rem;
}

.story-row p {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Schedule (Termine) ---------- */

.schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.schedule-card {
  border: 1px solid rgba(36, 64, 76,0.14);
  background: var(--foam);
  transition: transform 0.3s cubic-bezier(0.19,1,0.22,1), box-shadow 0.3s ease;
}

/* Web version: cards (and their photos) one third smaller, centered */
@media (min-width: 721px) {
  .schedule-card {
    width: 66.667%;
    margin-left: auto;
    margin-right: auto;
  }
}

.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(36, 64, 76, 0.16);
}

.schedule-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 160px;
  overflow: hidden;
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--sand);
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.schedule-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,19,0.05) 0%, rgba(6,16,19,0.92) 100%);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.schedule-card:hover .schedule-hover,
.schedule-card:focus-within .schedule-hover {
  opacity: 1;
  transform: translateY(0);
}

.schedule-hover .hover-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.2rem 0;
  border-top: 1px solid rgba(255, 251, 244,0.2);
}
.schedule-hover .hover-row:first-child { border-top: none; }

.schedule-hover .hover-row span:first-child {
  color: #C4C4C8;
}

.schedule-hover .hover-row span:last-child {
  font-weight: 600;
}

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

.schedule-date-chip {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--fjord);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  letter-spacing: 0.01em;
}

.schedule-body {
  padding: 1.5rem 1.6rem 1.7rem;
  text-align: center;
}

.schedule-body p {
  margin-left: auto;
  margin-right: auto;
}

.schedule-tag {
  color: var(--signal-text);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.schedule-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.schedule-body p {
  margin: 0 0 1.1rem;
}

.schedule-more {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1.5px solid var(--signal);
  padding-bottom: 2px;
}

.schedule-more:hover { color: var(--signal-text); }

/* Camp detail dialog (legacy, mostly unused now that camps link to their own pages) */
.camp-dialog {
  border: none;
  padding: 0;
  background: var(--foam);
  max-width: 540px;
  width: min(92vw, 540px);
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(36, 64, 76, 0.16);
}

.camp-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

.camp-dialog-inner {
  padding: 2rem clamp(1.4rem, 4vw, 2.2rem) 2.2rem;
}

.back-link {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--wind);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.back-link:hover {
  color: var(--signal-text);
  border-color: var(--signal-text);
}

.dialog-tagline {
  color: var(--signal-text);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 1rem;
}

.dialog-subhead {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.6rem 0 0.6rem;
  color: var(--ink);
}

.dialog-arrow-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
}

.dialog-arrow-list li {
  padding-left: 1.4rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.dialog-arrow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--signal-text);
  font-weight: 700;
}

.dialog-price {
  background: var(--sand);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.2rem;
}

.dialog-price .amount {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.dialog-price .note {
  font-size: 0.82rem;
  color: var(--wind);
  display: block;
  margin-top: 0.3rem;
}

.camp-dialog h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  padding-right: 2rem;
}

.dialog-hero-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.dialog-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dialog-text {
  font-size: 0.96rem;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

.dialog-gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 520px) {
  .dialog-gallery-row {
    grid-template-columns: 1fr;
  }
}

.dialog-gallery-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.camp-dialog dl,
main dl {
  margin: 0 0 1.6rem;
  display: grid;
  grid-template-columns: 9em 1fr;
  row-gap: 0.7rem;
  column-gap: 1rem;
}

@media (max-width: 480px) {
  .camp-dialog dl,
  main dl {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
  }
  .camp-dialog dd,
  main dd {
    margin-bottom: 0.6rem;
  }
}

.camp-dialog dt,
main dt {
  font-weight: 600;
  color: var(--wind);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------- Shop / Merch products ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  margin: 2rem 0 2.6rem;
}

.product-card {
  background: var(--sand);
  border: 1px solid rgba(36, 64, 76,0.14);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.19,1,0.22,1), box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(36, 64, 76, 0.16);
}

.product-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(0.19,1,0.22,1);
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-info {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-info h3 {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.product-info p {
  font-size: 0.88rem;
  color: var(--wind);
  margin: 0 0 1rem;
  flex: 1;
}

.product-note {
  font-size: 0.82rem;
  color: var(--signal-text);
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: block;
}

.product-info .btn {
  align-self: flex-start;
}

.fact-icon {
  display: inline-flex;
  color: var(--signal-text);
  flex-shrink: 0;
}

.fact-icon svg {
  width: 16px;
  height: 16px;
}

.camp-dialog dd,
main dd {
  margin: 0;
  font-size: 0.96rem;
}

.dialog-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--wind);
}

.dialog-close:hover { color: var(--ink); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(36, 64, 76, 0.16);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(36, 64, 76, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(36, 64, 76, 0.3);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2324404C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(212, 77, 49, 0.14), 0 6px 18px rgba(212, 77, 49, 0.1);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(36, 64, 76,0.14);
}
.contact-detail:first-of-type { border-top: none; }

@media (max-width: 480px) {
  .contact-detail {
    flex-direction: column;
    gap: 0.3rem;
  }
}

.contact-detail .label {
  width: 8em;
  font-weight: 600;
  color: var(--wind);
  flex-shrink: 0;
}

/* ---------- Footer ---------- */

footer {
  background: linear-gradient(180deg, var(--dawn-gold) 0%, #FFCB9C 55%, var(--dawn-rose) 100%);
  color: var(--ink);
  padding: 3.5rem 0 2rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(36, 64, 76,0.15);
  padding-bottom: 2rem;
  margin-bottom: 1.5rem;
}

footer nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  align-items: center;
}

footer nav a { color: var(--ink-soft); font-size: 0.95rem; }
footer nav a:hover { color: var(--ink); }

.footer-fine {
  font-size: 0.85rem;
  color: var(--wind);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--wind);
  transition: color 0.15s ease;
}

.footer-social:hover { color: var(--signal-text); }

.footer-social svg { width: 18px; height: 18px; }

/* ---------- Media blocks (photo frames) ---------- */

.media-block {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 220px;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  isolation: isolate;
}

.media-block.tone-fjord { background: var(--fjord); }

.media-block svg,
.media-block img,
.media-block video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3.2s cubic-bezier(0.19,1,0.22,1);
}

.media-block:hover img,
.media-block:hover video {
  transform: scale(1.15);
}

.schedule-media img {
  transition: transform 3.2s cubic-bezier(0.19,1,0.22,1);
}

.schedule-card:hover .schedule-media img {
  transform: scale(1.15);
}

.media-block .media-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--on-dark);
  background: rgba(6, 16, 19, 0.65);
  padding: 0.35rem 0.7rem;
  backdrop-filter: blur(4px);
}

.media-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.4rem;
  margin-top: 3rem;
}

.media-grid .media-block:nth-child(2) {
  margin-top: 2.2rem;
}

@media (max-width: 780px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
  .media-grid .media-block:nth-child(2) { margin-top: 0; }
}

.camp-block .media-block {
  aspect-ratio: 1 / 1;
  min-height: 180px;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

/* ---------- Photo carousel ---------- */

.carousel-wrap {
  position: relative;
  margin-top: 2.5rem;
  overflow-x: hidden;
}

.carousel {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  padding: 0 var(--gutter) 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 74vw);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3.2s cubic-bezier(0.19,1,0.22,1);
}

.carousel-item:hover img,
.carousel-item:hover video {
  transform: scale(1.15);
}

.carousel-item .video-badge {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: rgba(6,16,19,0.65);
  color: var(--on-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}

.carousel-item .video-badge svg {
  width: 11px;
  height: 11px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--fjord);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(36, 64, 76, 0.16);
  transition: background 0.15s ease, transform 0.15s ease;
}

.carousel-arrow:hover {
  background: var(--signal);
  color: var(--on-dark);
  transform: translateY(-50%) scale(1.06);
}

.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

@media (max-width: 640px) {
  .carousel-arrow { display: none; }
}

@media (max-width: 780px) {
  .camp-block .media-block { aspect-ratio: 16/9; max-width: 100%; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.19, 1, 0.22, 1), transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal="left"]  { transform: translateX(-64px); }
[data-reveal="right"] { transform: translateX(64px); }
@media (max-width: 780px) {
  [data-reveal="left"]  { transform: translateX(-32px); }
  [data-reveal="right"] { transform: translateX(32px); }
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.feature-strip > div:nth-child(1) { --reveal-delay: 0s; }
.feature-strip > div:nth-child(2) { --reveal-delay: 0.12s; }
.feature-strip > div:nth-child(3) { --reveal-delay: 0.24s; }

.camp-block:nth-of-type(1) { --reveal-delay: 0s; }
.camp-block:nth-of-type(2) { --reveal-delay: 0.12s; }
.camp-block:nth-of-type(3) { --reveal-delay: 0.24s; }

/* ---------- Hero motion ---------- */

@keyframes kite-float {
  0%, 100% { transform: translate(940px, 60px) rotate(18deg); }
  50% { transform: translate(915px, 95px) rotate(10deg); }
}

.kite-anim {
  animation: kite-float 5.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes line-drift {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -220; }
}

.line-anim {
  animation: line-drift 6s linear infinite;
}

@keyframes wind-streak {
  0% { transform: translateX(-120%); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateX(220%); opacity: 0; }
}

.wind-streak {
  position: absolute;
  height: 1px;
  background: rgba(255, 251, 244,0.4);
  animation: wind-streak 7s linear infinite;
}

.hero-content h1 {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s cubic-bezier(0.19,1,0.22,1) forwards;
  animation-delay: 0.1s;
}
.hero-content .lede {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s cubic-bezier(0.19,1,0.22,1) forwards;
  animation-delay: 0.32s;
}
.hero-content .cta-row {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s cubic-bezier(0.19,1,0.22,1) forwards;
  animation-delay: 0.5s;
}

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Micro-interactions ---------- */

.btn {
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.main-nav a {
  transition: color 0.15s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.19,1,0.22,1);
}
.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.camp-block {
  transition: transform 0.35s cubic-bezier(0.19,1,0.22,1), border-top-width 0.25s ease, box-shadow 0.35s ease;
}
.camp-block:hover {
  transform: translateY(-4px);
  border-top-width: 9px;
}

.footer-row a.logo { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.footer-row a.logo:hover { transform: rotate(-3deg) scale(1.04); }

/* ---------- Friends / partners page ---------- */

.friend-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2.4rem;
  align-items: start;
  padding: 2.4rem clamp(1.4rem, 4vw, 3rem) 2.6rem;
  background: var(--foam);
  border: 1px solid rgba(36, 64, 76, 0.14);
  border-top: 5px solid var(--signal);
}

.friend-badge {
  aspect-ratio: 1 / 1;
  background: var(--fjord);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}

.friend-badge svg { width: 84px; height: 84px; }

.friend-card + .friend-card { margin-top: 1.6rem; }

/* Alternating: odd cards sit left, even cards sit right (badge mirrored) */
@media (min-width: 861px) {
  .friend-card { max-width: 900px; margin-right: auto; }
  .friend-card:nth-of-type(even) {
    margin-left: auto;
    margin-right: 0;
    grid-template-columns: minmax(0, 1fr) 220px;
    border-top-color: var(--sand-dark);
  }
  .friend-card:nth-of-type(even) .friend-badge { grid-column: 2; grid-row: 1; }
  .friend-card:nth-of-type(even) .friend-body { grid-column: 1; grid-row: 1; }
}

.friend-badge-warm { background: var(--sand-dark); }

.friend-monogram {
  font-size: 3rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.friend-tag {
  color: var(--signal-text);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.friend-body h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 0.6rem; }

.friend-lead {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
  margin: 0 0 1rem;
}

.friend-body p { margin: 0 0 1rem; }

.friend-facts {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.friend-facts li {
  overflow-wrap: break-word;
  hyphens: auto;
  background: var(--sand);
  padding: 0.9rem 1rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.friend-facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

@media (max-width: 860px) {
  .friend-card { grid-template-columns: 1fr; gap: 1.6rem; }
  .friend-badge { aspect-ratio: auto; flex-direction: row; padding: 1.2rem; max-width: 280px; }
  .friend-monogram { font-size: 1.8rem; }
  .friend-badge svg { width: 52px; height: 52px; }
  .friend-facts { grid-template-columns: 1fr; }
}

/* Footer link "Freunde / von Ombrella" — second line fitted to width of first */
.friends-link {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1.1;
  vertical-align: middle;
}
.friends-link small {
  display: block;
  width: 0;
  min-width: 100%;
  white-space: nowrap;
  font-size: 0.62em;
  text-align: justify;
  text-align-last: justify;
  margin-top: 0.12em;
}

/* ---------- Gallery ---------- */
.gallery-head { text-align: center; max-width: 620px; margin: 0 auto 2rem; }
.gallery-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 0.5rem; }
.gallery-head p:last-child { margin: 0; }
.gallery-photos, .gallery-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.gallery-photos .media-block { aspect-ratio: 4 / 3; min-height: 0; }
.gallery-videos { margin-top: 1rem; }
.gallery-videos .media-block { aspect-ratio: 16 / 9; min-height: 0; }
.gallery-soon {
  display: flex; align-items: center; justify-content: center;
  background: var(--sand); color: var(--ink-soft);
  border: 2px dashed rgba(36, 64, 76, 0.22);
  font-family: var(--display); font-weight: 600;
}
@media (max-width: 780px) {
  .gallery-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .gallery-videos { grid-template-columns: 1fr; gap: 0.7rem; }
}

.carousel-more { display: flex; justify-content: center; margin-top: 1.4rem; }
.btn.btn-small { padding: 0.55rem 1.3rem; font-size: 0.85rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Visible focus ring, general */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

form .btn { border-radius: 14px; }

/* Contact form: security check */
.captcha-row { display: flex; align-items: stretch; gap: 0.6rem; }
.captcha-code {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 5.2rem; padding: 0 1rem;
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.3em;
  padding-left: calc(1rem + 0.3em);
  color: var(--signal-text);
  background: rgba(255, 255, 255, 0.35);
  border: 1px dashed rgba(36, 64, 76, 0.3);
  border-radius: 14px;
  user-select: none; -webkit-user-select: none;
  background-image: repeating-linear-gradient(135deg, transparent 0 7px, rgba(212, 77, 49, 0.08) 7px 9px);
}
.captcha-refresh {
  width: 2.8rem; border-radius: 14px; cursor: pointer;
  border: 1px solid rgba(36, 64, 76, 0.16);
  background: rgba(255, 255, 255, 0.18); color: var(--ink);
  font-size: 1.2rem; line-height: 1;
  transition: background-color 0.2s ease, transform 0.4s ease;
}
.captcha-refresh:hover { background: rgba(255, 255, 255, 0.5); transform: rotate(180deg); }
.captcha-row input { flex: 1; min-width: 0; letter-spacing: 0.15em; }
.captcha-row input::placeholder { letter-spacing: 0; }
.captcha-hint { margin: 0; font-size: 0.82rem; color: var(--wind); }
.contact-grid > form { min-width: 0; }
.captcha-row input { width: 0; }

.team-link { margin-top: 1.6rem; font-weight: 600; }
.team-link a { color: var(--signal-text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.team-link a:hover { color: var(--signal); }

.nav-item { display: flex; align-items: center; }
@media (max-width: 1100px) { .nav-item { display: block; } }

/* Team photos (reuse media-block hover zoom) */
.team-photo { aspect-ratio: 4 / 5; min-height: 0; width: 100%; align-self: start; }
@media (min-width: 861px) {
  .friend-card:nth-of-type(even) .team-photo { grid-column: 2; grid-row: 1; }
}
@media (max-width: 860px) {
  .team-photo { max-width: 280px; }
}

/* Dropdown links stay dark (also when marked active) */
.dropdown a, .dropdown a.active, .dropdown a:hover { color: var(--ink); }
.dropdown a.active::after { display: none; }
.main-nav .dropdown a { padding: 0.6rem 1.7rem; }
@media (max-width: 1100px) { .main-nav .dropdown a { padding: 0.7rem var(--gutter); } }
