/* extra.css — Vellum additions on top of the ported theme (main.css).
   Only new rules live here: the video showcase grid, the hero subheading,
   and waitlist form status messages. Everything else reuses theme classes. */

.hero__subheading {
  max-width: 460px;
  margin-top: 24px;
  margin-bottom: 40px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.55em;
  color: hsla(0, 0%, 100%, .88);
}

/* --- Hero: ambient Rome loop behind, text left, iPhone gallery right --- */
.section--hero { position: relative; padding-top: 170px; padding-bottom: 90px; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;                          /* ambient, never competing with the text */
}

/* keep the text side darker than the video for contrast */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1d2228 18%, rgba(29, 34, 40, .55) 55%, rgba(29, 34, 40, .35) 100%),
              linear-gradient(0deg, #1d2228 0%, rgba(29, 34, 40, 0) 30%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 48px;
}

/* the theme sized hero__content for its collage layout; widen it for the grid */
.hero__grid .hero__content { max-width: none; padding-left: 0; }

.hero__heading {
  white-space: normal;                 /* theme forced nowrap for short museum words */
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.06;
}

/* phone row + thumbnail rail beside it, so the whole gallery fits one viewport */
.hero__phone-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-self: end;
}

/* CSS-only iPhone frame around the autoplaying case video */
.phone {
  position: relative;
  width: min(370px, 28vw);
  aspect-ratio: 9 / 17.5;
  padding: 11px;
  border: 1px solid #3a414c;
  border-radius: 52px;
  background: #05070a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 2px #12151a;
}

.phone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  background: #000;
}

.phone__island {
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: 2;
  width: 84px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 12px;
  background: #05070a;
}

/* side buttons */
.phone::before, .phone::after {
  content: "";
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #3a414c;
}
.phone::before { right: -4px; top: 19%; height: 64px; }
.phone::after  { left: -4px;  top: 24%; height: 40px; }

.phone__gallery { display: flex; flex-direction: column; gap: 12px; }

.phone__thumb {
  width: 56px;
  height: 84px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  background: #000;
  cursor: pointer;
  opacity: .55;
  transition: .2s;
}

.phone__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone__thumb:hover { opacity: .85; }
.phone__thumb.active { border-color: #c11822; opacity: 1; }

/* one-pager anchors: keep section tops clear of the fixed header */
section[id] { scroll-margin-top: 110px; }

/* --- Video showcase ("Watch a case") --- */
.showcase__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
}

.showcase__card {
  width: 260px;
  padding: 16px;
  border: 1px solid rgba(154, 82, 97, .3);
  border-radius: 16px;
  background-color: #1d2228;
  transition: .2s;
}

.showcase__card:hover {
  border-color: rgba(193, 24, 34, .6);
  transform: translateY(-4px);
}

.showcase__phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
}

.showcase__phone video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__label {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
}

.showcase__mute {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(0, 0%, 100%, .4);
  border-radius: 50%;
  background-color: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.showcase__title {
  margin-top: 16px;
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25em;
  color: #f1f5fb;
}

.showcase__desc {
  margin-top: 8px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45em;
  color: hsla(0, 0%, 100%, .8);
}

.showcase__intro {
  max-width: 560px;
  margin-top: 16px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5em;
  color: hsla(0, 0%, 100%, .85);
}

/* readability bumps on theme-styled copy (theme grays are too faint on #1d2228) */
.visit__card-desc, .media__desc, .audio__txt { color: hsla(0, 0%, 100%, .82); }

/* --- "What you get" value props --- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.why__card {
  padding: 28px;
  border: 1px solid rgba(154, 82, 97, .3);
  border-radius: 16px;
  background: #1d2228;
  transition: .2s;
}

.why__card:hover { border-color: rgba(193, 24, 34, .6); transform: translateY(-4px); }

.why__icon {
  display: block;
  height: 72px;
  width: auto;
  margin-bottom: 20px;
  image-rendering: pixelated;            /* keep the dither crisp when scaled */
  opacity: .92;
}

.why__title {
  margin: 18px 0 10px;
  font-family: 'Work Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2em;
  color: #f1f5fb;
}

.why__desc {
  margin: 0;
  font-family: 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5em;
  color: hsla(0, 0%, 100%, .8);
}

/* format lead card: keep the theme's red-gradient panel but lay it out like
   its siblings (the theme centered it for a play-button collage) */
.visit__card.mod--first {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  cursor: default;
}

/* --- responsive: stack the hero under 991px --- */
@media (max-width: 991px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__phone-col { justify-self: center; flex-direction: column; }
  .phone__gallery { flex-direction: row; }
  .phone { width: min(300px, 66vw); }
}

/* --- Library list (repurposed audio-guide rows) --- */
.audio__list-item.mod--soon { opacity: .55 !important; }

/* --- Waitlist form status messages --- */
.form__status {
  margin-top: 12px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  display: none;
}

.form__status.is-visible { display: block; }
.form__status.success { color: #52f3b0; }
.form__status.error { color: #ff8a8a; }

/* Method section: the theme's media__img slot was designed for a 606px-wide
   landscape collage (max-width:none in main.css). Our poster is 9:16 portrait,
   which otherwise renders ~1100px tall and floods the sections above it —
   cap it to a phone-sized framed still. */
.section--media .media__img {
  width: 300px;
  max-width: 42vw;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}

/* Hero text: the theme animated these in via ix2 (data-w-id bindings we did not
   port), and its noise/element overlays can sit above content. Pin the text
   above them at full strength. */
.hero__content { z-index: 5; }
.hero__heading, .hero__h1-span1, .hero__h1-span3 { color: #fff; }
.hero__over-heading { color: #b9c1cc; }

/* Header logo: vellum-wide-white.png is 1184x360; without a cap it renders at
   intrinsic size across the hero. */
.header__logo .logo-img { height: 44px; width: auto; display: block; }

/* ================= v3 pass: color, badges, strip, grid, proof ================= */
:root {
  --accent: #ff8a1e;          /* vellum ember — pulled from the torchlit bg video */
  --accent-deep: #e06400;
  --accent-glow: rgba(255, 138, 30, .45);
}

.txt-accent { color: var(--accent); }

/* filled accent CTAs that actually pop */
.btn--accent {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #14171c !important;
  font-weight: 700;
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn--accent:hover { filter: brightness(1.12); }
.btn--hero.btn--accent::before { display: none; }   /* kill theme's white hover fill */
.btn--hero.btn--accent .btn__ico { filter: invert(100%); }
.header__col.col--3 .btn { border-color: var(--accent); color: var(--accent); }

/* hero bg: much more visible now */
.hero__bg video { opacity: .38; }
.hero__bg::after {
  background: linear-gradient(90deg, rgba(29,34,40,.92) 12%, rgba(29,34,40,.35) 52%, rgba(29,34,40,.15) 100%),
              linear-gradient(0deg, #1d2228 2%, rgba(29,34,40,0) 26%);
}

/* much wider phone */
.phone { width: min(440px, 31vw); }

/* store badges */
.store-badges { display: flex; gap: 14px; margin-top: 26px; }
.store-badge {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid hsla(0,0%,100%,.35); border-radius: 12px;
  color: #fff; background: rgba(0,0,0,.35);
}
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { font-family: 'Work Sans', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.15; }
.store-badge small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: hsla(0,0%,100%,.6); }

/* ---- case-file strip (marquee + dots) ---- */
.section--strip { padding-top: 40px; padding-bottom: 30px; overflow: hidden; }
.strip__viewport { overflow: hidden; }
.strip__track { display: flex; gap: 18px; width: max-content; animation: strip-scroll 45s linear infinite; }
.strip__viewport:hover .strip__track { animation-play-state: paused; }
@keyframes strip-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.strip__card {
  position: relative; width: 150px; height: 210px; flex: none;
  overflow: hidden; border-radius: 16px; border: 2px solid; 
  transform: rotate(-1.2deg);
}
.strip__card:nth-child(even) { transform: rotate(1.4deg); }
.strip__card img { width: 100%; height: 100%; object-fit: cover; }
.strip__card span {
  position: absolute; left: 8px; right: 8px; bottom: 10px;
  font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 700; line-height: 1.1;
  color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.9), 0 0 2px #000;
}
.strip__card.c1 { border-color: var(--accent); }
.strip__card.c2 { border-color: #c11822; }
.strip__card.c3 { border-color: #3aa2ff; }
.strip__card.c4 { border-color: #f5d34c; }
.strip__card.c5 { border-color: #b56cff; }
.strip__card.c6 { border-color: #41d99a; }
.strip__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.strip__dots i { width: 8px; height: 8px; border-radius: 50%; background: #4a515c; transition: .3s; }
.strip__dots i.active { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.strip__caption {
  margin: 16px auto 0; max-width: 520px; text-align: center;
  font-family: 'Work Sans', sans-serif; font-weight: 300; font-size: 16px;
  color: hsla(0,0%,100%,.75);
}

/* ---- library grid (9 visible + load more) ---- */
.lib__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.lib__card {
  overflow: hidden; border: 1px solid rgba(154,82,97,.35); border-radius: 16px;
  background: #171b20; transition: .2s;
}
.lib__card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.lib__card.is-hidden { display: none; }
.lib__img { height: 200px; overflow: hidden; }
.lib__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lib__img--soon {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 70% 20%, rgba(193,24,34,.5), rgba(23,27,32,1) 70%);
}
.lib__soon-icon { height: 90px; width: auto; image-rendering: pixelated; opacity: .85; }
.lib__card .visit__card-label { margin: 16px 0 0 18px; }
.lib__card h3 {
  margin: 12px 18px 8px; font-family: 'Work Sans', sans-serif;
  font-size: 20px; font-weight: 700; line-height: 1.2; color: #f1f5fb;
}
.lib__card p {
  margin: 0 18px 18px; font-family: 'Work Sans', sans-serif;
  font-size: 14px; font-weight: 300; line-height: 1.45; color: hsla(0,0%,100%,.78);
}
.audio__more { display: flex; gap: 16px; justify-content: center; margin-top: 40px; }

/* ---- social proof ---- */
.proof__heading { text-align: center; }
.proof__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.proof__stat {
  padding: 30px; text-align: center;
  border: 1px solid var(--accent); border-radius: 14px;
  background: rgba(255,138,30,.05);
  box-shadow: inset 0 0 40px rgba(255,138,30,.06);
}
.proof__stat-num {
  font-family: 'Work Sans', sans-serif; font-size: 44px; font-weight: 700;
  color: var(--accent); text-shadow: 0 0 24px var(--accent-glow);
}
.proof__stat-txt { margin-top: 8px; font-family: 'Work Sans', sans-serif; font-weight: 300; font-size: 15px; color: hsla(0,0%,100%,.85); }
.proof__quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 32px; }
.proof__quote { padding: 24px; border: 1px solid #343b45; border-radius: 14px; background: #22272e; }
.proof__stars, .laurel__stars { color: var(--accent); letter-spacing: 3px; font-size: 15px; }
.proof__quote p { margin: 12px 0 14px; font-family: 'Work Sans', sans-serif; font-style: italic; font-weight: 300; font-size: 15px; line-height: 1.5; color: hsla(0,0%,100%,.9); }
.proof__who { font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); }
.proof__laurels { display: flex; justify-content: center; gap: 56px; margin-top: 56px; flex-wrap: wrap; }
.laurel { display: flex; align-items: center; gap: 4px; color: var(--accent); }
.laurel__branch { font-size: 58px; filter: sepia(1) saturate(4) hue-rotate(-14deg) brightness(1.05); transform: scaleX(-1); }
.laurel__branch--flip { transform: scaleX(1); }
.laurel__body { text-align: center; font-family: 'Work Sans', sans-serif; }
.laurel__body > div { font-weight: 700; font-size: 17px; color: #fff; }
.laurel__body small { display: block; margin-top: 2px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: hsla(0,0%,100%,.65); }
.laurel__glyph { width: 30px; height: 30px; margin-bottom: 4px; color: var(--accent); }
.laurel__big { font-size: 34px; font-weight: 700; color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }

/* smaller footer logo */
.footer__logo .logo-img { height: 64px; width: auto; }

@media (max-width: 991px) {
  .lib__grid, .proof__stats { grid-template-columns: 1fr; }
  .store-badges { flex-wrap: wrap; }
}

/* v4 pass: showcase cards fill the section; series label is a one-line
   full-width bar instead of a wrapping chip */
.showcase__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.showcase__card { width: auto; }
.showcase__label {
  left: 0; top: 0; right: 0;
  border-radius: 12px 12px 0 0;
  padding: 9px 14px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 991px) { .showcase__grid { grid-template-columns: 1fr; } }

/* v5: real laurel wreaths + historical reviewer avatars */
.laurel__wing { height: 96px; width: auto; }
.laurel__wing--flip { transform: scaleX(-1); }
.laurel { gap: 10px; }
.proof__who-row { display: flex; align-items: center; gap: 10px; }
.proof__avatar { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--accent); }

/* laurel center stars must beat the .laurel__body > div white rule */
.laurel__body div.laurel__stars { color: var(--accent); }

/* Paladin-style award badges (literal SVGs; text is outlined = placeholder values) */
.proof__badge { height: 150px; width: auto; }
@media (max-width: 767px) { .proof__badge { height: 110px; } }

/* ===== bright CTA bands (mid + bottom) ===== */
.cta-band {
  margin: 40px 0;
  padding: 64px 0;
  background: linear-gradient(115deg, #ff6a1f 0%, var(--accent) 55%, #ffc46b 130%);
}
.cta-band--tall { padding: 96px 0; margin-bottom: 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band__inner--center { flex-direction: column; text-align: center; gap: 12px; }
.cta-band__title { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.06; color: #14171c; }
.cta-band__sub { margin: 14px 0 0; font-family: 'Work Sans', sans-serif; font-weight: 400; font-size: 18px; color: rgba(20, 23, 28, .82); }
.cta-band__btn {
  border: none; border-radius: 12px;
  padding: 24px 38px;
  background: #14171c; color: #fff;
  font-size: 15px; font-weight: 700;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transition: .2s;
}
.cta-band__btn:hover { transform: translateY(-2px); background: #000; }
.cta-band--tall .cta-band__btn { margin-top: 18px; }

/* spacing pass: breathing room around social proof, centered bottom band */
#proof { padding-top: 130px; padding-bottom: 60px; }
.proof__stats { margin-top: 64px; }
.proof__quotes { margin-top: 40px; }
.proof__laurels { margin-top: 72px; margin-bottom: 30px; }
.cta-band--tall { margin-top: 110px; margin-bottom: 110px; padding: 110px 0; }
.cta-band__inner--center { align-items: center; justify-content: center; }
.cta-band__inner--center .cta-band__title,
.cta-band__inner--center .cta-band__sub { text-align: center; }
.cta-band__inner--center .cta-band__sub { max-width: 560px; }

/* prominent social links: header icons + bottom-band handle pills + bigger footer icons */
.header__col.col--3 { display: flex; align-items: center; gap: 20px; }
.header__socials { display: flex; gap: 14px; }
.header__socials img { height: 22px; width: 22px; filter: brightness(0) invert(1); opacity: .8; transition: .2s; }
.header__socials a:hover img { opacity: 1; transform: translateY(-1px); }
.cta-band__socials { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
.social-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background: rgba(20, 23, 28, .18); border: 1px solid rgba(20, 23, 28, .35);
  color: #14171c; font-family: 'Work Sans', sans-serif; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: .2s;
}
.social-pill:hover { background: #14171c; color: #fff; }
.social-pill img { height: 20px; width: 20px; filter: brightness(0); transition: .2s; }
.social-pill:hover img { filter: brightness(0) invert(1); }
.footer__soc-link img { height: 26px; width: 26px; filter: brightness(0) invert(1); opacity: .75; }
.footer__soc-link:hover img { opacity: 1; }

/* header col-3 must never wrap the socials above the button */
.header__col.col--3 { flex-direction: row; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; }

/* footer nav: 6 links now — two tidy columns instead of one tall stack */
.footer__nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 36px; }
/* keep the theme's decorative arrow from colliding with the form column */
.footer__elements { pointer-events: none; }

/* the theme's noise-arrow collides with the footer form at wide viewports */
.footer__elements { display: none; }

/* breathing room between header socials and the CTA button */
.header__col.col--3 { gap: 40px; }
.cta-band__sub strong { font-weight: 700; }

/* ===== mobile polish: unsquished logos, centered header, bigger phone ===== */
/* the theme's img{max-width:100%} + our fixed height distorted the wordmark;
   fix the aspect by fixing WIDTH and freeing height instead */
.header__logo .logo-img, .footer__logo .logo-img { max-width: none; object-fit: contain; }

@media (max-width: 767px) {
  .header__logo .logo-img { width: 132px; height: auto; }
  .footer__logo .logo-img { width: 180px; height: auto; }
  .header__columns {
    display: flex; flex-wrap: wrap;
    justify-content: center; align-items: center;
    row-gap: 14px; column-gap: 18px;
    text-align: center;
  }
  .header__col, .header__col.col--3 { justify-content: center; }
  .footer__col.col--1 { text-align: center; }
  .footer__logo { display: inline-block; }
}

@media (max-width: 991px) {
  .phone { width: min(350px, 88vw); }
}

/* mobile round 2: pin hamburger to the corner, stack + center the footer identity */
@media (max-width: 767px) {
  .header__humburger-wrap { position: absolute; top: 22px; right: 18px; }
  .section--hero { padding-top: 215px; }
  .footer__col.col--1 { display: flex; flex-direction: column; align-items: center; gap: 18px; }
  .footer__desc { text-align: center; }
  .footer__social.mod--mob { justify-content: center; gap: 32px; }
}

/* generous bottom padding under the copyright line */
.footer { padding-bottom: 72px; }
.footer__copyright-txt { margin-top: 48px; margin-bottom: 0; }
