/* tobuscus.com, "the classics are coming back" design:
   warm cream page, royal blue + lime accents, big tight headline, photo cards, navy bedtime band. */
:root {
  --cream: #f7f1e8;
  --ink: #141414;
  --muted: #4b4b4b;
  --blue: #1a3fd1;
  --blue-deep: #1230a8;
  --lime: #c6f33a;
  --navy: #0d1834;
  --line: #2a2a2a;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.5 Inter, system-ui, -apple-system, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* blue strip */
.strip { background: var(--blue); color: var(--lime); text-align: center; font: 700 13px/1 Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; padding: 11px 16px; }

/* header */
.top { background: #0b0b0b; color: #fff; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .bar { height: 76px; }
.brand { flex: 0 1 300px; min-width: 120px; }
.brand img { width: 100%; max-width: 300px; height: auto; }
.top nav { flex: none; }
.top nav, .foot nav { display: flex; gap: 40px; }
.top nav a, .foot nav a { font: 800 17px Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 4px 0; }
.top nav a.on { box-shadow: inset 0 -4px 0 var(--lime); }
.top nav a:hover, .foot nav a:hover { box-shadow: inset 0 -4px 0 var(--lime); }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 40%, #e3ebf8 62%, #b9cdf0 100%); min-height: 450px; }
.hero-grid { position: relative; z-index: 2; display: flex; align-items: center; min-height: 450px; }
.hero-text { max-width: 560px; padding: 40px 0; }
.hero .lead { max-width: 24em; }
.hero h1 { font: 800 clamp(42px, 6.2vw, 68px)/1.02 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 22px; }
.swash { background: linear-gradient(transparent 82%, var(--lime) 82%, var(--lime) 94%, transparent 94%); }
.lead { font-size: 19px; color: #222; margin: 0 0 28px; max-width: 30em; }
.btn-dark { display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; text-decoration: none; font: 700 19px Inter, sans-serif; padding: 15px 34px; border-radius: 999px; }
.btn-dark:hover { background: #000; }
.perk { font-style: italic; color: #333; margin: 26px 0 0; display: flex; align-items: center; gap: 12px; }
.slash { display: inline-block; width: 5px; height: 18px; background: var(--lime); transform: skewX(-22deg); border-radius: 2px; }
.hero-pic { position: absolute; top: 0; right: 0; bottom: 0; width: 47%; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* vault */
.vault { padding: 30px 24px 50px; }
.rule { display: flex; align-items: center; gap: 30px; font: 700 20px Inter, sans-serif; letter-spacing: .32em; text-transform: uppercase; margin: 10px 0 28px; }
.rule::before, .rule::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card .pic { aspect-ratio: 330 / 270; overflow: hidden; background: #ece6dc; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font: 800 26px/1.2 "Inter Tight", Inter, sans-serif; letter-spacing: -.02em; margin: 14px 0 10px; }
.pill { display: inline-block; border: 2px solid var(--blue); color: var(--blue); border-radius: 9px; font: 700 15px Inter, sans-serif; padding: 4px 26px; text-decoration: none; background: #fff; }
.pill:hover { background: var(--blue); color: #fff; }
.pill.soon { cursor: default; }
.pill.soon:hover { background: #fff; color: var(--blue); }

/* bedtime band */
.bedtime { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.bed-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; background: url(img/v2/bedtime.webp) right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }

.bed-grid { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 320px; padding-top: 36px; padding-bottom: 36px; }
.bed-text { max-width: 520px; }
.kicker { display: flex; align-items: center; gap: 12px; font: 700 14px Inter, sans-serif; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 16px; }
.bedtime h2 { font: 800 clamp(36px, 5vw, 54px)/1.05 "Inter Tight", Inter, sans-serif; letter-spacing: -.03em; margin: 0 0 14px; }
.bed-text p { color: #e6e9f2; margin: 0 0 22px; }
.link-lime { color: #fff; font: 800 19px Inter, sans-serif; text-decoration: none; box-shadow: inset 0 -3px 0 var(--lime); padding-bottom: 3px; }
.link-lime.soon { color: #cfd5e6; cursor: default; }
.phone { width: 190px; flex: none; border: 6px solid #1b1b1f; border-radius: 30px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.5); transform: rotate(4deg); margin-right: 40px; }

/* footer */
.foot { padding: 26px 0; }
.foot-logo { width: 170px; max-width: 40vw; height: auto; }

/* phones */
@media (max-width: 820px) {
  .top nav { gap: 22px; }
  .hero { background: var(--cream); min-height: 0; }
  .hero-grid { min-height: 0; }
  .hero-pic { position: static; width: 100%; height: 300px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .bedtime { display: flex; flex-direction: column; }
  .bed-bg { position: relative; order: 2; width: 100%; height: 230px; background-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .bed-grid { min-height: 0; padding-bottom: 8px; }
  .phone { display: none; }
}
@media (max-width: 520px) {
  .top .bar { height: 64px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 14px; }
  .strip { font-size: 11px; letter-spacing: .2em; }
  .cards { grid-template-columns: 1fr; }
  .rule { font-size: 14px; gap: 14px; letter-spacing: .22em; }
  .foot nav { gap: 18px; }
  .foot nav a { font-size: 14px; }
}

/* black top: header + hero */
.hero { background: #0b0b0b; color: #fff; }
.hero .lead { color: #d8d8d8; }
.hero .perk { color: #cfcfcf; }
.hero .btn-dark { background: #fff; color: #0b0b0b; }
.hero .btn-dark:hover { background: var(--lime); }
.hero-pic {
  -webkit-mask-image: radial-gradient(ellipse 50% 56% at 55% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 56% at 55% 50%, #000 62%, transparent 100%);
}
@media (max-width: 820px) {
  .hero { background: #0b0b0b; }
}

.bedtime .bed-sub { font: 700 20px/1.3 Inter, sans-serif; color: var(--lime); margin: -4px 0 12px; }

@media (max-width: 520px) {
  .foot .bar { flex-direction: column; gap: 14px; }
}

/* notify-me email box */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.notify { display: flex; flex-wrap: wrap; gap: 10px; max-width: 540px; }
.notify input { flex: 1 1 220px; min-width: 0; font: 500 17px Inter, sans-serif; padding: 14px 20px; border-radius: 999px; border: 2px solid #3a3a3a; background: #161616; color: #fff; }
.notify input::placeholder { color: #8a8a8a; }
.notify input:focus { outline: none; border-color: var(--lime); }
.notify button { border: 0; cursor: pointer; }
.hero .notify .btn-dark { background: #fff; color: #0b0b0b; }
.hero .notify .btn-dark:hover { background: var(--lime); }
.fine { flex-basis: 100%; margin: 4px 0 0 6px; font-size: 13px; color: #a9a9a9; }
.fine.err { color: #ff8a7a; }
.notify.done input, .notify.done button { display: none; }
.notify.done .fine { font-size: 17px; color: var(--lime); margin-left: 0; }

[hidden] { display: none !important; }

/* hero carousel */
.hero { display: grid; }
.hero .slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.hero .slide.on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.s-sleepy { background: #0b0b0b; overflow: hidden; }
.s-sleepy .rooms img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; opacity: 0; transition: opacity 1.4s ease; }
.s-sleepy .rooms img.on { opacity: 1; }
.s-sleepy .rooms::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.92) 0%, rgba(11,11,11,.75) 35%, rgba(11,11,11,.1) 65%, transparent 100%); }
.s-sleepy .hero-grid { position: relative; z-index: 2; }
.s-sleepy .kicker { color: #fff; }
.hero h2.big { font: 800 clamp(40px, 6vw, 64px)/1.02 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 10px; }
.s-sleepy .bed-sub { font: 700 20px/1.3 Inter, sans-serif; color: var(--lime); margin: 0 0 14px; }
.dots { position: absolute; z-index: 5; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero { position: relative; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.dots button.on { background: var(--lime); width: 26px; border-radius: 6px; }
@media (max-width: 820px) {
  .s-sleepy .rooms::after { background: linear-gradient(180deg, rgba(11,11,11,.9) 0%, rgba(11,11,11,.7) 55%, rgba(11,11,11,.2) 100%); }
  .s-sleepy .hero-grid { min-height: 520px; align-items: flex-start; }
}

/* "Remember this?": big stage reel + a wall of 4 old TVs */
.classics { background: #0b0b0b; color: #fff; padding: 56px 0 60px; }
.cl-head { font: 800 clamp(40px, 6vw, 64px)/1.02 "Inter Tight", Inter, sans-serif; letter-spacing: -.035em; margin: 0 0 8px; }
.cl-head .swash { background: linear-gradient(transparent 82%, var(--lime) 82%, var(--lime) 94%, transparent 94%); }
.cl-sub { color: #cfcfcf; font-size: 19px; font-style: italic; margin: 0 0 26px; }
.reel { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 2px #1d1d1d, 0 20px 50px rgba(0,0,0,.6); }
.reel video, .tv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel video { opacity: 0; transition: opacity .7s ease; }
.reel video.on { opacity: 1; }
/* old-tape look: soft scanlines + a little vignette */
.reel::after, .tv::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,.45) 100%); }
.vhs, .vhs-time { position: absolute; z-index: 2; font: 700 clamp(14px, 2.2vw, 24px)/1 "Courier New", ui-monospace, monospace; color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,.6), 0 0 8px rgba(255,255,255,.35); letter-spacing: .06em; }
.vhs { top: 5%; left: 4%; }
.vhs-time { bottom: 6%; right: 4%; }
.tvs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 30px; }
.tv { position: relative; aspect-ratio: 4 / 3; background: #111; border-radius: 22px / 18px; overflow: hidden; border: 6px solid #222; box-shadow: inset 0 0 0 2px #2e2e2e, 0 10px 24px rgba(0,0,0,.5); }
.tv:nth-child(odd) { transform: rotate(-1.2deg); }
.tv:nth-child(even) { transform: rotate(1deg); }
@media (max-width: 820px) {
  .tvs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .classics { padding: 40px 0 46px; }
  .tv { border-width: 4px; }
}
