@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body { margin: 0; background: #000; overflow-x: hidden; font-family: 'Poppins', sans-serif; color: white; }

.image-wrapper {
    position: relative;
    width: 100%;
    display: block;       /* ensures no inline gap below image */
}

.image-wrapper img {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    transition: opacity .5s ease, transform .5s ease;
}

.image-wrapper .img-title {
  position: absolute;
  width: 100%;
  text-align: center;
}

.video { 
    position: fixed; 
}

video  { width: 100%; height: 100%; object-fit: cover; z-index: 0; top: 0; }

.text {
    position: absolute;
    top: 70vh;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 0;
    transition: opacity .6s ease, top .6s ease;
}

.text.visible {
    position: fixed;
    top: 45vh;
}

.eyebrow {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: .6;
}

h1 {
    font-size: clamp(1rem, 6vw, 5rem);
    font-weight: 300;
    color: white !important;
}

h1 em {
    font-style: italic;
    font-weight: 500;
    color: var(--accent) !important;
}

/* ─── Panel A ─────────────────────────────────────────────────────────── */
.panel-a {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
}

.spacer { height: 120vh; }

.panel-a-title {
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 2;
    color: white;
}

.panel-a-title h2 {
    font-size: clamp(1.2rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
}

.panel-a-title em {
    font-style: italic;
    font-weight: 500;
    color: var(--accent);
}

/* ─── Sidenotes ──────────────────────────────────────────────────────── */
.sidenote {
    position: absolute;
    z-index: 2;
}

.sidenote--left  { left: 8vw;  text-align: left; }
.sidenote--right { right: 8vw; text-align: right; }

.sidenote__label {
    display: inline-block;
    font-size: 1.2rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent);
    padding-bottom: 2px;
    margin-bottom: .45rem;
}

.sidenote__text {
    font-size: clamp(.8rem, 1.15vw, 1rem);
    font-weight: 300;
    color: var(--text);
    max-width: 25ch;
    line-height: 1.55;
}

.sidenote__num {
    display: block;
    font-family: 'Poppins', serif;
    font-size: 2.8rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .2rem;
}

/* ─── Waitlist button ────────────────────────────────────────────────── */
.waitbtn {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    letter-spacing: .08em;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 40px;
    padding: 20px 60px;
    cursor: pointer;
    white-space: nowrap;

    transition: padding .2s ease, font-size .2s ease !important;
}

.waitbtn.visible {
    opacity: 1;
    transform: none;
}

.waitbtn:hover {
    font-size: 1.5rem;
}

/* ─── Panel B ────────────────────────────────────────────────────────── */
.panel-b { display: block; padding: 0; margin: 0; background: #fff; }

.lineup {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #111;
  padding: 60px 20px 40px;
  letter-spacing: -.01em;
}

.product {
  position: relative;
  width: 100%;
  aspect-ratio: 2560 / 720;
  overflow: hidden;
}

.product-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s ease;
}
.product:hover .product-bg { transform: scale(1.02); }

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
}
.product--right .product-overlay {
  background: linear-gradient(to left, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
}

.product-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 6%;
}
.product--right .product-content { justify-content: flex-end; }

.product-text { max-width: 380px; }
.product--right .product-text { text-align: right; }

.product-eyebrow {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .5rem;
}

.product-name {
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .75rem;
}
.product-name em { font-style: italic; font-weight: 500; }

.product-desc {
  font-size: clamp(.75rem, 1.4vw, .95rem);
  font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.product-specs {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.product--right .product-specs { justify-content: flex-end; }

.spec-val {
  font-size: clamp(.7rem, 1.8vw, .9rem);
  font-weight: 500;
  color: #fff;
}
.spec-label {
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.product-btn {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  padding: 10px 28px;
  cursor: pointer;
  background: var(--accent);
  transition: background .25s, border-color .25s, padding .25s;
  border: none;
  border-radius: 10px;
}

.product-btn:hover {
  background: var(--accent);
  padding: 10px 38px;
}

/* ─── Panel C ────────────────────────────────────────────────────────── */

.panel-c {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.modularity {
    width: 100vw;
    height: auto;
}

/* ─── Panel D ────────────────────────────────────────────────────────── */

.panel-d {
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.cablemanagement {
    width: 100vw;
    height: auto;
}

/* ─── Panel E ────────────────────────────────────────────────────────── */

.panel-e {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.omnidirectional {
    width: 100vw;
    height: auto;
}

/* ─── Panel F ────────────────────────────────────────────────────────── */

.panel-f {
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.feet {
    width: 100vw;
    height: 60vh;
    object-fit: cover;
    object-position: center 55%;
}

/* ─── Panel G ────────────────────────────────────────────────────────── */

.panel-g {
    width: 100vw;
    height: auto;
    overflow: hidden;
}

.boxofbricks {
    width: 100vw;
    height: auto;
}

/* ─── Portrait: hide sidenotes ───────────────────────────────────────── */
@media (orientation: portrait) {
    .sidenote { display: none; }
    
    /* Change aspect ratio for vertical images */
  .product {
    aspect-ratio: 1920 / 2560;
  }

  /* Model 01 (_ma) */
  .product:first-child .product-bg {
    background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)),
      url('https://ebbedesign.ch/wp-content/uploads/2026/04/Pedalboard_Edit_0013.png') !important;
  }

  /* Model 02 (o_ma) */
  .product--right .product-bg {
    background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)),
      url('https://ebbedesign.ch/wp-content/uploads/2026/04/Pedalboard_Edit_0014.png') !important;
  }
}