:root {
  --ink: #000;
  --bg: #fff;
  --rule: #b0b0b0;
  --placeholder: #d9d9d9;
  --copy-ink: rgba(0, 0, 0, 0.85);
  --pad-x: clamp(24px, 2.7vw, 52px);
  --pad-y: clamp(24px, 2.7vw, 52px);
  --text: clamp(13px, 0.95vw, 16px);
  --line: 1.5;
  --gap: clamp(18px, 1vw, 18px);
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", -apple-system, "Segoe UI", sans-serif;
  font-size: var(--text);
  line-height: var(--line);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; font: inherit; color: inherit; cursor: pointer; }
img { display: block; }

/* ───── TOP (wordmark + WE'RE OPEN) ───── */
.top {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 30px;
}

.wordmark {
  display: block;
  margin-right: auto;
  width: clamp(200px, 21vw, 402px);
}
.wordmark img {
  width: 100%;
  height: auto;
}

.open {
  display: none;
  font-weight: 800;
  font-size: var(--text);
  letter-spacing: 0.01em;
  padding-top: 10px;
}

/* ───── LAYOUT (slider + copy) ───── */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 594fr) minmax(0, 1205fr);
  gap: var(--gap);
  align-items: start;
  flex: 1;
}

/* ───── SLIDER ───── */
.slider__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 594 / 743;
  background: var(--placeholder);
  overflow: hidden;
}

.slider__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

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

.slider__btn {
  position: absolute;
  top: 50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.3s ease, background 0.2s ease;
  pointer-events: none;
}
.slider__frame:hover .slider__btn,
.slider__frame:focus-within .slider__btn {
  opacity: 1;
  pointer-events: auto;
}
.slider__btn:hover { background: rgba(255, 255, 255, 0.95); }
.slider__btn svg { width: 16px; height: 16px; }
.slider__btn--prev { left: 14px; }
.slider__btn--next { right: 14px; }

@media (hover: none) {
  .slider__btn { opacity: 1; pointer-events: auto; }
}

/* ───── COPY BLOCKS ───── */
.copy {
  display: flex;
  flex-direction: column;
}

.block {
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--rule);
}
.block:first-child { padding-top: 14px; }

.block h2 {
  font-size: var(--text);
  font-weight: 700;
  line-height: 1.56;
  letter-spacing: 0;
}

.block p {
  font-size: var(--text);
  font-weight: 400;
  line-height: 1.56;
  letter-spacing: 0;
}

/* ───── ENDCAP (bullseye + links on right) ───── */
.endcap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  margin-top: clamp(30px, 4vw, 60px);
}

.endcap__mark {
  width: clamp(120px, 12vw, 220px);
  height: auto;
}

.endcap__links {
  text-align: right;
  line-height: 1.56;
  font-size: var(--text);
}

.endcap__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.endcap__links li {
  margin-top: 4px;
}

/* ───── FOOTER (©LOOPCOFFEE.2026) ───── */
.foot {
  margin-top: clamp(60px, 5.6vw, 90px);
  text-align: right;
}

.foot__copy {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: clamp(15px, 1.1vw, 19px);
  line-height: 1.24;
  color: var(--copy-ink);
}

/* ───── MOBILE ───── */
@media (max-width: 900px) {
  :root {
    --pad-x: 22px;
    --pad-y: 26px;
    --text: 14px;
    --gap: 18px;
  }

  .top {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 30px;
    gap: 32px;
  }

  .wordmark {
    align-self: flex-start;
    margin-right: 0;
    width: min(78vw, 520px);
  }

  .open {
    display: block;
    align-self: flex-end;
    font-weight: 800;
    font-size: clamp(30px, 8.5vw, 52px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    padding-top: 0;
  }

  .layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .slider__frame {
    aspect-ratio: 714 / 894;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .slider__frame::-webkit-scrollbar { display: none; }

  .slider__track {
    transform: none !important;
    transition: none !important;
  }

  .slide {
    scroll-snap-align: center;
  }

  .slider__btn { display: none; }

  .endcap {
    margin-top: 36px;
    gap: 14px;
  }

  .endcap__mark {
    width: 115px;
  }

  .foot {
    margin-top: 78px;
  }

  .foot__copy {
    font-size: 15px;
  }
}
