/* The Bites Suite — app page styles (Literature / Art / Architecture / Scripture) */

.hero {
  padding: 5.5rem var(--gutter) 3rem;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4vw;
  align-items: center;
}

.hero-copy .label {
  color: var(--accent);
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-copy .label::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px var(--accent-soft);
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.12;
  color: var(--accent);
  margin-bottom: 1.6rem;
}

.hero .mission {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--parchment);
  max-width: 46ch;
  margin-bottom: 0.5rem;
}
.hero .mission em, .hero .mission i { font-style: italic; color: var(--parchment); }

.hero .store-line {
  margin-top: 1.6rem;
  color: var(--stone);
  font-size: 0.95rem;
}
.hero .store-line strong { color: var(--parchment); font-style: italic; font-weight: 500; }

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.hero-actions .btn { background: var(--parchment); }
.hero-actions .note {
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--stone);
  text-transform: uppercase;
}

.hero-visual { display: flex; justify-content: center; }

/* screenshot carousel inside the phone */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease-hand);
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  color: var(--parchment);
}
.mock-statusbar {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-label);
  font-size: 0.6rem;
  color: var(--parchment);
  padding: 0.7rem 1rem 0.3rem;
  opacity: 0.85;
}
.mock-titlebar {
  text-align: center;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--stone);
  padding-bottom: 0.6rem;
}
.mock-bite {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.6rem 1.4rem;
  gap: 0.9rem;
}
.mock-bite .quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--parchment);
}
.mock-bite .glyph {
  color: var(--accent);
  font-size: 1.4rem;
}
.mock-bite .source {
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--stone);
  text-transform: uppercase;
}
.mock-bite .save {
  margin-top: 0.4rem;
  font-family: var(--font-label);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--parchment);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem 1rem;
  color: var(--stone);
  font-size: 0.9rem;
}
.mock-toolbar .heart { color: var(--accent); }
.mock-progress {
  flex: 1;
  height: 2px;
  background: rgba(237,232,221,0.15);
  margin: 0 0.9rem;
  position: relative;
}
.mock-progress::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 42%;
  background: var(--accent);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  border: 1px solid rgba(237,232,221,0.25);
  background: rgba(13,14,18,0.6);
  color: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.carousel-arrow:hover { border-color: var(--accent); color: var(--accent); }
.carousel-arrow.prev { left: -3.2rem; }
.carousel-arrow.next { right: -3.2rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.55rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  z-index: 5;
}
.carousel-dots button {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(237,232,221,0.3);
  border: none;
  padding: 0;
  cursor: pointer;
}
.carousel-dots button[aria-current="true"] {
  background: var(--accent);
  box-shadow: 0 0 6px 1px var(--accent-soft);
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 3.2rem; text-align: left; }
  .hero-visual { margin-top: 1rem; }
  .carousel-arrow.prev { left: 0.5rem; }
  .carousel-arrow.next { right: 0.5rem; }
}

/* ---------- Sample bites ---------- */
.bites-section {
  padding: 5rem var(--gutter) 2rem;
  max-width: var(--container);
  margin: 0 auto;
}
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.4rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-heading h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--parchment);
}
.bites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.bite-card {
  background: var(--slate);
  border: 1px solid rgba(237,232,221,0.06);
  border-radius: 14px;
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-hand);
}
.bite-card:hover {
  border-color: var(--accent-soft);
  transform: translateY(-3px);
}
.bite-card .glyph { color: var(--accent); font-size: 1.3rem; }
.bite-card .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--parchment);
  flex: 1;
}
.bite-card .attribution {
  font-family: var(--font-label);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stone);
}
.bite-card .attribution strong { color: var(--stone); font-weight: 500; }

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

/* ---------- About section ---------- */
.about-section {
  padding: 4rem var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid rgba(237,232,221,0.06);
  padding-top: 4.5rem;
}
.about-section .about-grid {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 4vw;
}
.about-section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--accent);
}
.about-section .about-body {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--parchment);
}
.about-section .about-body em { color: var(--parchment); font-style: italic; }

@media (max-width: 880px) {
  .about-section .about-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

/* ------------------------------------------------------------------ */
/* Real app screenshots (Literature, Art)                              */
/* ------------------------------------------------------------------ */
/* These pages use the app's own *_framed captures, which already include
   the device frame — so there is no .phone-frame wrapper and nothing to
   letterbox or object-fit. The image IS the phone.

   Scoped to .carousel--screens so the mock carousels on the Architecture and
   Scripture pages, which have no real screenshots yet, keep the original
   styling above untouched. */
.carousel--screens {
  width: min(300px, 78vw);
  height: auto;
}
/* the clipping viewport is a separate element so the arrows, which sit
   outside it at -3.2rem, are not clipped away */
.carousel--screens .carousel-viewport {
  overflow: clip;
  border-radius: 6px;
}
.carousel--screens .carousel-track {
  height: auto;
}
.carousel--screens .carousel-slide {
  height: auto;
  background: none;
  display: block;
}
.carousel--screens .carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55));
}
/* the dots sat inside the old phone screen; under the device now */
.carousel--screens .carousel-dots {
  bottom: -1.5rem;
}
