/* ============================================================
   CS Bagpipes — Custom CSS
   Design: Apple-style minimalism · serif + sans pairing
   Palette: cream / forest green / charcoal / copper
   ============================================================ */

:root {
  --c-bg: #F0F0EE;            /* warm off-white */
  --c-bg-2: #E7E5E0;
  --c-fg: #14181A;            /* near-black */
  --c-fg-soft: #6B6E72;
  --c-accent: #1E4A36;        /* deep forest green */
  --c-accent-2: #2D6B4F;
  --c-copper: #B6724C;
  --c-line: rgba(20,24,26,0.10);
  --c-line-light: rgba(255,255,255,0.18);
  --c-pill: #EDEDED;
  --c-blue: #3B82F6;
  --c-blue-2: #2563EB;

  --f-serif: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);

  --max-w: 1280px;
}

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

html { scroll-behavior: auto; }

body {
  background: var(--c-bg);
  color: var(--c-fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s ease; }
a:hover { opacity: 0.65; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  background: var(--c-fg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; color: var(--c-bg); }
.loader-logo {
  font-family: var(--f-serif);
  font-size: 64px; font-style: italic; font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.loader-text {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 32px;
}
.loader-bar {
  width: 180px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 auto;
  overflow: hidden;
}
.loader-bar span {
  display: block; height: 100%;
  background: var(--c-bg);
  transform: translateX(-100%);
  animation: loaderFill 1.4s var(--ease-out) forwards;
}
@keyframes loaderFill {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   NAVIGATION (Apple pill style — centered, dual-pill)
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease;
}
.nav-logo-pill {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 100px;
  background: var(--c-pill);
  color: #555;
  flex-shrink: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.04);
}
.nav-logo-pill:hover { color: #222; opacity: 1; }

.nav-pill {
  display: flex; align-items: center;
  gap: 28px;
  padding: 11px 26px;
  border-radius: 16px;
  background: var(--c-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: #4a4a4a;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.04);
}
.nav-pill a { color: inherit; transition: color 0.2s ease; }
.nav-pill a:hover { color: #111; opacity: 1; }

@media (max-width: 700px) {
  .nav { gap: 8px; }
  .nav-pill { gap: 14px; padding: 9px 16px; font-size: 11.5px; }
  .nav-logo-pill { width: 40px; height: 40px; }
}
@media (max-width: 480px) {
  .nav { padding: 12px 8px; gap: 6px; }
  .nav-pill { gap: 11px; padding: 8px 13px; font-size: 10.5px; letter-spacing: -0.01em; }
  .nav-logo-pill { width: 36px; height: 36px; }
}
@media (max-width: 360px) {
  .nav-pill { gap: 9px; padding: 7px 11px; font-size: 9.5px; }
}

/* ============================================================
   HERO (Apple-style — fullscreen video, bottom-left content)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
}

/* In landscape on small devices (phones rotated), fill the viewport
   with cover instead of contain so we don't get big empty margins. */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-video {
    object-fit: cover;
  }
  .hero-content {
    padding: 16px 24px 24px;
  }
  .hero-title {
    font-size: 20px;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: #FFFFFF;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #FFFFFF;
  /* Keep video on its own GPU layer — prevents iOS Safari unloading
     during pin/scroll */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.hero-video-mobile { display: none; }

@media (max-width: 768px) {
  .hero-video-desktop { display: none; }
  .hero-video-mobile { display: block; }
  /* Slightly inset on mobile so chanter bell has breathing room */
  .hero-video-mobile {
    padding: 2vh 0;
    box-sizing: border-box;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: 24px 28px 56px;
  pointer-events: none;
}
.hero-content::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.96) 100%);
  pointer-events: none;
  z-index: -1;
}
.hero-content-inner {
  max-width: 460px;
  pointer-events: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--c-blue);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}
.hero-badge:hover { color: var(--c-blue-2); opacity: 1; }
.hero-badge .arrow { display: inline-block; transition: transform 0.2s ease; }
.hero-badge:hover .arrow { transform: translateX(2px); }

.hero-title {
  font-family: var(--f-sans);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #14181A;
  margin-bottom: 14px;
  max-width: 26ch;
}

.hero-sub {
  font-size: 13px;
  color: #9CA3AF;
  margin-bottom: 18px;
  font-weight: 400;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-blue);
  border: 1px solid #93C5FD;
  border-radius: 100px;
  padding: 10px 22px;
  transition: all 0.2s ease;
}
.hero-cta:hover {
  background: var(--c-blue);
  color: white;
  border-color: var(--c-blue);
  opacity: 1;
}
.hero-cta .arrow { display: inline-block; transition: transform 0.2s ease; }
.hero-cta:hover .arrow { transform: translateX(2px); }

@media (max-width: 900px) {
  .hero-content { padding: 24px 20px 40px; }
  .hero-title { font-size: 22px; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--c-bg);
  color: var(--c-fg);
}
.btn-primary:hover { opacity: 1; background: var(--c-accent); color: var(--c-bg); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { opacity: 1; background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-light {
  background: white;
  color: var(--c-fg);
}
.btn-light:hover { opacity: 1; transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  padding: 200px 0;
  background: var(--c-bg);
}
.manifesto-text {
  font-family: var(--f-serif);
  font-size: clamp(28px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-text em {
  font-style: italic;
  color: var(--c-accent);
}

.reveal-words .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.4s ease;
}
.reveal-words .word.in { opacity: 1; }

/* ============================================================
   DISASSEMBLE SECTION (video scrub - bagpipe parts apart)
   GSAP-pinned, no CSS sticky
   ============================================================ */
.disassemble-section {
  position: relative;
  background: var(--c-bg);
}
.disassemble-sticky {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: #fafafa;
}
.disassemble-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.disassemble-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  pointer-events: none;
  opacity: 0; /* faded in by JS at end of pin */
}
.disassemble-overlay::before {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0.96) 100%);
  pointer-events: none;
}
.disassemble-overlay .container {
  pointer-events: auto;
  position: relative;
}
.disassemble-title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin: 16px 0 16px;
  color: var(--c-fg);
  max-width: 700px;
}
.disassemble-title em {
  font-style: italic;
  color: var(--c-accent);
}
.disassemble-desc {
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-fg-soft);
  max-width: 460px;
}

@media (max-width: 700px) {
  .disassemble-overlay { padding-bottom: 40px; }
}

/* ============================================================
   SCRUB SECTION (video scrub on scroll) — GSAP-pinned
   ============================================================ */
.scrub-section {
  position: relative;
  background: var(--c-bg);
}
.scrub-sticky {
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 5%;
}
.scrub-video-wrap {
  position: relative;
  width: 30%;
  max-width: 420px;
  aspect-ratio: 1 / 2.2;
}
.scrub-video-wrap::before {
  content: "";
  position: absolute;
  inset: -10% -25%;
  background: radial-gradient(ellipse at center, rgba(30, 74, 54, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.scrub-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.18));
}
.scrub-text {
  max-width: 440px;
}
.scrub-title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
}
.scrub-title em {
  font-style: italic;
  color: var(--c-accent);
}
.scrub-desc {
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-fg-soft);
}

@media (max-width: 900px) {
  .scrub-section { height: auto; padding: 100px 0; }
  .scrub-sticky { position: relative; height: auto; flex-direction: column; padding: 0 20px; gap: 40px; }
  .scrub-video-wrap { width: 60%; max-width: 280px; }
  .scrub-text { text-align: center; }
}

/* ============================================================
   EXPERTISE GRID
   ============================================================ */
.expertise {
  padding: 160px 0;
  background: var(--c-bg);
}
.expertise-intro {
  max-width: 720px;
  margin-bottom: 80px;
}
.expertise-intro p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.6;
  color: var(--c-fg-soft);
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.exp-card {
  background: white;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  padding: 36px 32px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}
.exp-num {
  display: inline-block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--c-copper);
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.exp-card h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 14px;
}
.exp-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-fg-soft);
}

@media (max-width: 900px) {
  .expertise-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  .expertise { padding: 100px 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .exp-card { padding: 28px 24px; }
  .expertise-intro { margin-bottom: 50px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 160px 0;
  background: var(--c-bg-2);
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--c-line);
}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--c-fg);
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--c-accent); }
.faq-icon {
  font-family: var(--f-sans);
  font-size: 28px;
  font-weight: 300;
  color: var(--c-accent);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-content {
  padding: 0 0 28px;
  max-width: 720px;
}
.faq-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-fg-soft);
}
.faq-content strong { color: var(--c-fg); font-weight: 600; }

@media (max-width: 600px) {
  .faq { padding: 100px 0; }
  .faq-item summary { padding: 22px 0; font-size: 18px; }
  .faq-content { padding-bottom: 22px; }
  .faq-content p { font-size: 15px; }
}

/* ============================================================
   REVEAL SECTION (sticky scroll)
   ============================================================ */
.reveal-section {
  position: relative;
  height: 250vh;
  background: var(--c-fg);
  color: var(--c-bg);
}
.reveal-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.reveal-stage {
  position: relative;
  width: 32%;
  max-width: 420px;
  height: 80vh;
  max-height: 720px;
}
.reveal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.5));
  opacity: 0;
  mix-blend-mode: lighten;
}
.reveal-img-1 { opacity: 1; }

.reveal-text {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 480px;
}
.reveal-title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: block;
}
.reveal-line:nth-child(2) > span { font-style: italic; color: var(--c-copper); }
.reveal-desc {
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.7;
  max-width: 400px;
}

@media (max-width: 900px) {
  .reveal-section { height: auto; padding: 100px 0; }
  .reveal-sticky { position: relative; height: auto; flex-direction: column; gap: 60px; padding: 0 20px; }
  .reveal-stage { width: 60%; max-width: 260px; }
  .reveal-text { position: relative; left: auto; top: auto; transform: none; text-align: center; }
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  margin-bottom: 80px;
  max-width: 760px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 20px;
  position: relative;
  padding-left: 32px;
}
.section-eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: currentColor;
}
.eyebrow-light { color: rgba(255,255,255,0.7); }
.eyebrow-light::before { background: rgba(255,255,255,0.6); }

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5.5vw, 88px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.022em;
}
.section-title em {
  font-style: italic;
  color: var(--c-accent);
}
.section-title-light em { color: var(--c-copper); }

/* ============================================================
   INSTRUMENTS (per-product full-width rows with gallery)
   ============================================================ */
.instruments {
  padding: 160px 0 80px;
  background: var(--c-bg);
}
.instruments > .container > .section-header {
  margin-bottom: 100px;
}

.product {
  padding: 70px 0;
  border-top: 1px solid var(--c-line);
}
.product:last-of-type { border-bottom: 1px solid var(--c-line); }

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.product--reverse .product-inner { direction: rtl; }
.product--reverse .product-inner > * { direction: ltr; }

.product-text {
  max-width: 480px;
}
.product-num {
  display: inline-block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--c-copper);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.product-title {
  font-family: var(--f-serif);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
}
.product-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-fg-soft);
  margin-bottom: 32px;
}
.product-specs {
  list-style: none;
  border-top: 1px solid var(--c-line);
}
.product-specs li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--c-fg);
  border-bottom: 1px solid var(--c-line);
}
.product-specs li span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-fg-soft);
}

/* Gallery — horizontal scroll */
.product-gallery {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.product-gallery::-webkit-scrollbar { height: 6px; }
.product-gallery::-webkit-scrollbar-track { background: transparent; }
.product-gallery::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15);
  border-radius: 6px;
}
.product-gallery-track {
  display: flex;
  gap: 16px;
  padding: 4px;
}
.product-gallery-item {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 340px);
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: var(--c-bg-2);
  scroll-snap-align: start;
  transition: transform 0.4s var(--ease-out);
}
.product-gallery-item:hover { transform: scale(1.02); }
.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .product { padding: 50px 0; }
  .product-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .product--reverse .product-inner { direction: ltr; }
  .product-text { max-width: none; }
  .product-gallery-item { width: 70vw; aspect-ratio: 3 / 4; }
  .product-specs li {
    grid-template-columns: 110px 1fr;
    gap: 16px;
    font-size: 12px;
  }
}

/* ============================================================
   SKILL LEVELS
   ============================================================ */
.levels {
  padding: 160px 0;
  background: var(--c-fg);
  color: var(--c-bg);
}
.levels .section-title em { color: var(--c-copper); }
.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.level-card {
  padding: 44px 28px 36px;
  border: 1px solid var(--c-line-light);
  border-radius: 20px;
  transition: all 0.4s var(--ease-out);
  text-align: center;
}
.level-card:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-4px);
}
.level-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.level-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Make icons pure white so the bagpipe silhouette and dots are
     visible on the dark section background */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.level-card h4 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 12px;
}
.level-card p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
  max-width: 220px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .levels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .levels-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORKSHOP (parallax)
   ============================================================ */
.workshop {
  position: relative;
  padding: 200px 0;
  color: white;
  overflow: hidden;
}
.workshop-bg {
  position: absolute; inset: -10%;
  background-size: cover;
  background-position: center;
  will-change: transform;
  overflow: hidden;
}
.workshop-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.workshop-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,17,16,0.55) 0%, rgba(13,17,16,0.85) 100%);
}
.workshop-content {
  position: relative;
  max-width: 720px;
}
.workshop-title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 20px 0 28px;
}
.workshop-title em { font-style: italic; color: var(--c-copper); }
.workshop-desc {
  font-size: 18px;
  line-height: 1.55;
  opacity: 0.85;
  margin-bottom: 36px;
  max-width: 560px;
}

/* ============================================================
   ABOUT (Werkstatt / Künstler / Musik)
   ============================================================ */
.about {
  padding: 160px 0;
  background: var(--c-bg);
}
.about > .container > .section-header {
  margin-bottom: 100px;
}
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--c-line);
}
.about-block:last-of-type { border-bottom: 1px solid var(--c-line); }
.about-kuenstler { direction: rtl; }
.about-kuenstler > * { direction: ltr; }

.about-sub {
  display: inline-block;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--c-copper);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.about-block-text h3 {
  font-family: var(--f-serif);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
}
.about-block-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-fg-soft);
  margin-bottom: 18px;
}
.about-block-text p em { font-style: italic; color: var(--c-fg); }
.about-block-text p strong { font-weight: 600; color: var(--c-fg); }

.about-block-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.about-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-bg-2);
  aspect-ratio: 4 / 5;
}
.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-img-tall { grid-row: span 2; aspect-ratio: 4 / 9; }
.about-img-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.about-img-wide-2 { grid-column: span 2; aspect-ratio: 16 / 8; }

.about-portrait {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--c-fg);
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Timeline inside artist sub-block */
.about-kuenstler .timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  border-top: 1px solid var(--c-line);
  margin-top: 30px;
}
.tl-item {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--c-line);
}
.tl-year {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--c-accent);
  line-height: 1;
}
.tl-item-now .tl-year { color: var(--c-copper); }
.tl-item p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--c-fg-soft);
}

@media (max-width: 900px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 0;
  }
  .about-kuenstler { direction: ltr; }
  .about-kuenstler .timeline { grid-template-columns: 1fr; }
  .about-img-tall { aspect-ratio: 4 / 5; grid-row: auto; }
}
@media (max-width: 600px) {
  .about { padding: 100px 0; }
  .about > .container > .section-header { margin-bottom: 60px; }
  .about-block-gallery { grid-template-columns: 1fr; }
  .about-img-wide, .about-img-wide-2 { grid-column: span 1; aspect-ratio: 16 / 10; }
  .about-stage-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   QUOTE
   ============================================================ */
.quote {
  padding: 200px 0;
  background: var(--c-bg-2);
  text-align: center;
}
.quote-text {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 1000px;
  margin: 0 auto 32px;
  position: relative;
  padding-top: 40px;
}
.quote-text em {
  font-style: italic;
  color: var(--c-accent);
}
.quote-mark {
  display: block;
  font-size: 2.4em;
  color: var(--c-accent);
  line-height: 0.5;
  margin-bottom: 8px;
  font-style: normal;
}
.quote-cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-fg-soft);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog {
  padding: 160px 0;
  background: var(--c-bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  cursor: pointer;
  transition: transform 0.4s var(--ease-out);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 20px;
  background: var(--c-bg-2);
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}
.blog-card-title {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.blog-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-fg-soft);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 160px 0;
  background: var(--c-fg);
  color: var(--c-bg);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .section-title { margin: 20px 0 28px; }
.contact-desc {
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.75;
  margin-bottom: 48px;
  max-width: 440px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-top: 1px solid var(--c-line-light);
  padding-top: 28px;
}
.contact-info > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  font-size: 14px;
}
.contact-info span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line-light);
  border-radius: 24px;
  padding: 40px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line-light);
  padding: 8px 0 12px;
  color: var(--c-bg);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--c-copper);
}
.contact-form select option { background: var(--c-fg); color: var(--c-bg); }
.contact-form button { margin-top: 12px; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 60px; }
  .contact-form { padding: 28px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-fg);
  color: var(--c-bg);
  padding: 80px 0 0;
  border-top: 1px solid var(--c-line-light);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-logo {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 36px;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 14px;
  opacity: 0.6;
  max-width: 280px;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0.6;
}
.footer-cols ul { list-style: none; }
.footer-cols li { margin-bottom: 8px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--c-line-light);
  padding: 24px 0;
  font-size: 12px;
  opacity: 0.5;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 8px; }
}

/* ============================================================
   ANIMATION HELPERS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.fade-up.in {
  opacity: 1;
  transform: translateY(0);
}
