/* ================= the Apple-style look: one light see-through bar, big words, pieces fanned out, wide panels ================= */
/* the script first name is the licensed Brittany Signature, served to signed-in people only (never kept in this repo) */
@font-face { font-family: "Stewart Script"; src: url(/api/font/script); font-display: swap; }
body { background: #fff; }
:root { --soft: #F7F6F4; --warm: #EFE7DC; --headh: 52px; }

/* ---------- pill buttons (look follows the button decision; one place to change) ---------- */
.pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; border: none; background: var(--ink); color: #fff; font: 600 15px/1 Montserrat, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .1s, background .15s; }
.pill:hover { background: #000; }
.pill:active { transform: scale(.97); }
.pill.alt { background: rgba(26,26,28,.07); color: var(--ink); }
.pill.alt:hover { background: rgba(26,26,28,.12); }
.pill.sm { min-height: 36px; font-size: 13px; padding: 0 16px; }
.pill.block { width: 100%; min-height: 52px; font-size: 16px; }
.pill:disabled { opacity: .55; }
.dark .pill, .red .pill { background: #fff; color: var(--ink); }
.dark .pill.alt { background: rgba(255,255,255,.14); color: #fff; }
.red .pill { color: var(--brand); }

/* ---------- top bar ---------- */
.topbar, .mbar { display: none !important; }
.nav2 { position: sticky; top: 0; z-index: 30; height: var(--headh); background: rgba(250,249,247,.82); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); padding-top: var(--safe-t); box-sizing: content-box; transition: box-shadow .3s; }
.nav2.sh { box-shadow: 0 6px 20px rgba(0,0,0,.07); }
.nav2 .in { max-width: 1120px; margin: 0 auto; height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 22px; }
.nav2 .nlogo { display: flex; align-items: center; flex: none; }
.nav2 .nlogo img { height: 22px; width: auto; display: block; }
.nav2 nav { flex: 1; display: flex; justify-content: center; gap: 26px; }
.nav2 nav a { font-size: 13px; font-weight: 500; color: #3a3a3c; text-decoration: none; white-space: nowrap; padding: 6px 0; }
.nav2 nav a:hover { color: var(--ink); }
.nav2 nav a.on { color: var(--ink); font-weight: 700; }
.nav2 .avatar { width: 30px; height: 30px; font-size: 11px; background: var(--ink); cursor: pointer; }
.nav2 .menubtn { display: none; color: var(--ink); margin-right: -10px; }
.nav2 .menubtn:hover, .nav2 .menubtn:focus-visible { background: rgba(0,0,0,.05); }
@media (max-width: 899px) {
  .nav2 nav, .nav2 .avatar { display: none; }
  .nav2 .in { justify-content: space-between; padding: 0 16px 0 20px; }
  .nav2 .menubtn { display: inline-flex; }
}

/* ---------- phone menu: fills the screen, light, big words ---------- */
.drawer.fmenu { inset: 0; width: auto; background: rgba(250,249,247,.98); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--ink); padding: calc(6px + var(--safe-t)) 24px calc(24px + var(--safe-b)); transform: translateY(-12px); opacity: 0; transition: transform .25s ease, opacity .2s ease; box-shadow: none; }
.drawer.fmenu.in { transform: none; opacity: 1; }
.fmenu .dhead { display: flex; align-items: center; justify-content: space-between; min-height: var(--headh); padding: 0; margin-right: -10px; }
.fmenu .dwho { display: flex; align-items: center; gap: 10px; padding: 0; border: none; margin: 0; }
.fmenu .dwho .avatar { width: 34px; height: 34px; font-size: 12px; background: var(--ink); }
.fmenu .dwho b { font-size: 15px; }
.fmenu .menubtn { color: var(--ink); }
.fmenu .dlinks { margin-top: 18px; gap: 0; }
.fmenu .dlinks a { min-height: 0; padding: 9px 0; border-radius: 0; color: var(--ink); font-size: 30px; font-weight: 700; letter-spacing: -.02em; gap: 12px; background: none; }
.fmenu .dlinks a:hover { background: none; color: #000; }
.fmenu .dlinks a.on { background: none; color: var(--brand); }
.fmenu .dnew { font-size: 12px; letter-spacing: 0; padding: 4px 9px; }
.fmenu .dlinks a.on .dnew { background: var(--brand); color: #fff; }
.fmenu .dfoot { flex-direction: row; justify-content: flex-start; gap: 10px; padding-top: 28px; }
@media (min-width: 900px) { .drawer.fmenu { display: none !important; } }

/* ---------- page frame ---------- */
.frame.look { padding-bottom: 0; }
.look .wrap { max-width: 1120px; }
.look section.blk { padding-left: 20px; padding-right: 20px; }

/* ---------- the light top: date, Hi + script name, pills, three pieces fanned out ---------- */
.hello { background: var(--paper); text-align: center; padding: 56px 20px 0; overflow: hidden; }
.hello .date { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.hello h1 { margin: 14px 0 0; font-size: 64px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.hello h1 .sig { font-family: "Stewart Script", Montserrat, sans-serif; font-weight: 400; font-size: 1.35em; letter-spacing: 0; color: var(--brand); display: inline-block; transform: translateY(.1em); margin-left: .08em; line-height: .8; }
.hello .lead { font-size: 21px; font-weight: 500; color: #3a3a3c; margin: 16px 0 0; }
.newest { font-size: 14px; font-weight: 600; color: var(--muted); margin: 14px 0 0; }
.newest b { color: var(--ink); }
.fan3 { display: flex; justify-content: center; align-items: flex-end; height: 380px; margin: 40px auto -40px; max-width: 900px; position: relative; }
.fan3 .fp { width: 260px; flex: none; display: block; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 26px 50px rgba(0,0,0,.18); transition: transform 1s cubic-bezier(.2,.8,.2,1) .2s, margin 1s cubic-bezier(.2,.8,.2,1) .2s; }
.fan3 .fp img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; object-position: top; }
.fan3 .l { transform: rotate(-8deg) translate(40px, 40px); }
.fan3 .m { z-index: 2; transform: translateY(-10px); width: 280px; }
.fan3 .r { transform: rotate(8deg) translate(-40px, 40px); }
.fan3 .l2 { transform: rotate(-5deg) translate(20px, 20px); }
.fan3 .r2 { transform: rotate(5deg) translate(-20px, 20px); z-index: 2; }
.fan3:not(.in).rv .l { transform: translate(0, 40px); margin-right: -230px; }
.fan3:not(.in).rv .r { transform: translate(0, 40px); margin-left: -230px; }
.cathead .lsearch { max-width: 460px; margin: 22px auto 0; }
.cathead .nchips { justify-content: center; margin-top: 12px; }

/* ---------- wide panels ---------- */
.panel { text-align: center; padding: 64px 20px 56px; margin-top: 12px; overflow: hidden; }
.panel h2 { font-size: 52px; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.05; }
.panel .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.panel .lead { font-size: 20px; font-weight: 500; margin: 12px 0 0; color: #3a3a3c; }
.panel.dark { background: var(--ink); color: #fff; }
.panel.dark .eyebrow { color: #CFCBC5; }
.panel.dark .lead { color: #D9D6D1; }
.panel.warm { background: var(--warm); }
.mustage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; max-width: 1000px; margin: 40px auto 0; align-items: center; text-align: left; }
.mustage.novid { grid-template-columns: 1fr; max-width: 640px; }
.muvid { border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 26px 60px rgba(0,0,0,.45); }
.muvid video { display: block; width: 100%; max-height: 480px; background: #000; }
.panel.dark .card, .panel.dark .cardlink { color: #fff; }
.mustage .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nlrow { display: flex; justify-content: center; gap: 18px; margin: 36px auto 0; max-width: 760px; text-align: left; }
.nlrow .card { width: 220px; flex: none; }

/* ---------- four tiles, two across ---------- */
.tiles2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 12px 12px 0; }
.tile2 { text-align: center; padding: 52px 24px 0; min-height: 520px; overflow: hidden; position: relative; display: flex; flex-direction: column; align-items: center; }
.tile2 h3 { font-size: 38px; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.tile2 p { font-size: 17px; font-weight: 500; margin: 8px 0 0; color: #3a3a3c; min-height: 2.6em; }
.tile2 .pills { margin-top: 14px; }
.tile2.dark { background: var(--ink); color: #fff; }
.tile2.dark p { color: #D9D6D1; }
.tile2.white { background: var(--soft); }
.tile2.light { background: var(--paper); }
.tile2.red { background: linear-gradient(180deg, #A30C33, #7E0A28); color: #fff; }
.tile2.red p { color: #F3E7EA; }
.tart { margin-top: auto; padding-top: 30px; display: flex; justify-content: center; align-items: flex-end; gap: 0; height: 300px; }
.tart img { width: 190px; height: auto; max-height: 270px; object-fit: cover; object-position: top; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.18); margin-bottom: -30px; }
.tart .t0 { transform: rotate(-5deg) translateX(14px); }
.tart .t1 { transform: rotate(5deg) translate(-14px, 10px); }
.tphone { margin-top: auto; width: 210px; height: 300px; border-radius: 34px 34px 0 0; background: #2C2B2D; padding: 10px 10px 0; box-shadow: 0 -10px 40px rgba(0,0,0,.4); }
.tphone .scr { height: 100%; border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #5A4F45, #3A3530); position: relative; overflow: hidden; }
.tphone .ln { position: absolute; left: 10px; right: 10px; top: 14px; background: rgba(20,20,22,.7); color: #fff; border-radius: 12px; padding: 10px; font-size: 11px; font-weight: 600; line-height: 1.35; text-align: left; }
.tphone .face { position: absolute; left: 50%; top: 110px; width: 74px; height: 92px; margin-left: -37px; border-radius: 40px; background: #C9B49A; }
.tphone .dot { position: absolute; left: 50%; bottom: 18px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; border: 4px solid #fff; background: #E5243B; }
.tcards { margin-top: auto; display: flex; flex-direction: column; gap: 12px; width: 260px; padding-bottom: 40px; }
.tcards span { background: #fff; color: var(--ink); border-radius: 14px; padding: 16px; text-align: left; box-shadow: 0 16px 34px rgba(0,0,0,.25); border-left: 6px solid var(--ink); }
.tcards span:nth-child(2) { transform: translateX(26px); border-left-color: #C98A00; }
.tcards b { display: block; font-size: 15px; margin-bottom: 8px; }
.tcards i { display: block; height: 7px; border-radius: 4px; background: var(--line); margin-top: 6px; }
.tcards i + i { width: 60%; }

/* ---------- big carousel ---------- */
.car { padding: 64px 0 40px; }
.car h2 { font-size: 40px; font-weight: 800; letter-spacing: -.025em; margin: 0 0 24px; padding: 0 20px; }
.car .track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 20px 10px; scrollbar-width: none; }
.car .track::-webkit-scrollbar { display: none; }
.car .slide { flex: none; width: min(560px, 82vw); height: 520px; border-radius: 26px; background: var(--paper); scroll-snap-align: center; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.car .slide:nth-child(3n+2) { background: var(--warm); }
.car .slide:nth-child(3n) { background: var(--ink); color: #fff; }
.car .sart { flex: 1; display: flex; align-items: center; justify-content: center; padding: 30px 30px 0; min-height: 0; }
.car .sart img, .car .sart video { max-width: 72%; max-height: 100%; height: auto; border-radius: 6px; box-shadow: 0 24px 50px rgba(0,0,0,.25); display: block; }
.car .sart .play { display: none; }
.car .sart .doc { width: 60%; aspect-ratio: 8.5 / 11; height: auto; border-radius: 6px; }
.car .cap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; text-align: left; }
.car .cap b { display: block; font-size: 17px; }
.car .cap span { font-size: 13px; opacity: .7; }
.car .slide:nth-child(3n) .pill { background: #fff; color: var(--ink); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #CFCBC5; transition: width .2s; }
.dots i.on { background: var(--ink); width: 22px; border-radius: 4px; }
@media (min-width: 1160px) { .car .track { padding-left: calc((100vw - 1120px) / 2); } .car h2 { max-width: 1120px; margin-left: auto; margin-right: auto; padding: 0; } }

/* ---------- section pages ---------- */
.look .body { padding-top: 40px; }
.sh { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.sh .cnt { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0 44px; }
.tp { background: var(--paper); border-radius: 16px; padding: 14px 14px 12px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.tp img { width: 70%; height: 90px; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 8px 18px rgba(0,0,0,.14); margin: 0 auto 10px; display: block; }
.tp .tpi { height: 90px; display: grid; place-items: center; color: var(--brand); margin-bottom: 10px; }
.tp b { font-size: 14px; }
.tp span { font-size: 12px; color: var(--muted); font-weight: 600; }
.tp:hover { background: #E9E7E3; }
.picks { background: var(--ink); color: #fff; border-radius: 26px; padding: 40px 28px 26px; margin: 0 0 44px; }
.picks .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #CFCBC5; }
.picks h2 { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 0; }
.picks .lead { color: #D9D6D1; margin: 6px 0 20px; font-size: 16px; }
.picks .card, .picks .cardlink { color: #fff; }
.shelf { margin-bottom: 40px; scroll-margin-top: 70px; }
.shelf .h2row { align-items: baseline; margin-bottom: 14px; }
.seeall { font-size: 15px; font-weight: 700; color: var(--brand); text-decoration: none; white-space: nowrap; }
.pagetop { background: var(--paper); padding: 30px 20px 26px; }
.pagetop .back { margin-bottom: 4px; }
.pagetop h1 { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.05; }
.pagetop .lead { font-size: 17px; color: var(--muted); margin: 8px 0 0; }
.pagetop .lsearch { max-width: 460px; margin-top: 18px; }
.pagetop .chips { margin-top: 14px; }
.lsearch { background: #fff; border-color: var(--line); border-radius: 999px; padding: 0 18px; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; display: inline-flex; align-items: center; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.look .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }

/* piece cards: the NEW tag, the title (two lines at most) and the buttons line up across a row */
.look .card.dl .ttl { min-height: 2.7em; }
.look .thumb { border-radius: 8px; box-shadow: 0 10px 24px rgba(26,26,28,.12); }

/* ---------- scroll animations ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.fan3.rv { opacity: 1; transform: none; }
.car .track.rv { transform: translateX(120px); }
.car .track.rv.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .rv, .fan3 .fp { transition: none !important; opacity: 1 !important; } .rv:not(.fan3) { transform: none !important; } }

/* ---------- sign in ---------- */
.signin2 { min-height: 100vh; min-height: 100dvh; background: var(--paper); display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(64px + var(--safe-t)) 20px 0; overflow: hidden; }
.signin2 .slogo { height: 30px; width: auto; }
.signin2 .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--brand); margin-top: 40px; }
.signin2 h1 { font-size: 72px; font-weight: 800; letter-spacing: -.035em; margin: 8px 0 0; line-height: 1; }
.signin2 .lead { font-size: 20px; color: #3a3a3c; font-weight: 500; margin: 14px 0 0; }
.sform { width: 100%; max-width: 470px; margin-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.srow { display: flex; background: #fff; border-radius: 999px; padding: 6px; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.srow input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 16px Montserrat, sans-serif; padding: 0 18px; outline: none; color: var(--ink); }
.srow:focus-within { border-color: var(--brand); }
.sform .hint { font-size: 13px; }
.sfan { display: flex; justify-content: center; gap: 22px; margin: 56px 0 -120px; pointer-events: none; }
.sfan > div { width: 250px; height: 320px; flex: none; border-radius: 6px; box-shadow: 0 26px 50px rgba(0,0,0,.16); text-align: left; overflow: hidden; }
.sfly { background: #fff; display: flex; flex-direction: column; }
.sfly i { display: block; height: 150px; background: linear-gradient(160deg, #E9DCCB, #C9B49A); border-top: 10px solid var(--brand); }
.sfly.dk i { background: linear-gradient(160deg, #4A4845, #1A1A1C); }
.sfly b { font-size: 19px; font-weight: 800; padding: 14px 16px 6px; line-height: 1.2; }
.sfly u { display: block; height: 8px; border-radius: 4px; background: var(--line); margin: 6px 16px 0; }
.sfly u + u { width: 55%; }
.stip { background: var(--brand); color: #fff; padding: 24px; z-index: 2; transform: translateY(-10px); }
.stip small { font-size: 11px; font-weight: 700; letter-spacing: .16em; opacity: .8; }
.stip b { display: block; font-size: 26px; line-height: 1.15; margin-top: 12px; }
.sfan .l { transform: rotate(-8deg) translate(40px, 40px); }
.sfan .r { transform: rotate(8deg) translate(-40px, 40px); }
.scard { width: 100%; max-width: 470px; background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.1); padding: 26px 30px; margin: 34px 0 60px; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.scard h2 { font-size: 26px; margin: 0; }
.scard .link { align-self: center; }

/* ---------- phones ---------- */
@media (max-width: 734px) {
  .hello { padding: 40px 20px 0; }
  .hello .date { font-size: 12px; }
  .hello h1 { font-size: 44px; margin-top: 10px; }
  .hello .lead { font-size: 17px; margin-top: 10px; }
  .pills { gap: 10px; margin-top: 18px; }
  .pill { min-height: 42px; font-size: 14px; padding: 0 18px; }
  .fan3 { zoom: .62; margin-top: 34px; }
  .panel { padding: 48px 20px 40px; }
  .panel h2 { font-size: 36px; }
  .panel .lead { font-size: 16px; }
  .mustage { grid-template-columns: 1fr; margin-top: 28px; }
  .nlrow { gap: 10px; }
  .nlrow .card { width: auto; flex: 1; min-width: 0; }
  .tiles2 { grid-template-columns: 1fr; margin: 12px 0 0; }
  .tile2 { min-height: 470px; padding-top: 44px; }
  .tile2 h3 { font-size: 32px; }
  .tile2 p { font-size: 16px; }
  .car { padding-top: 52px; }
  .car h2 { font-size: 30px; margin-bottom: 18px; }
  .car .track { gap: 10px; }
  .car .slide { height: 430px; border-radius: 20px; }
  .sh { font-size: 22px; }
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 34px; }
  .picks { border-radius: 20px; padding: 30px 18px 18px; margin-left: -4px; margin-right: -4px; }
  .picks h2 { font-size: 26px; }
  .pagetop h1 { font-size: 36px; }
  .look .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .signin2 { padding-top: calc(44px + var(--safe-t)); }
  .signin2 h1 { font-size: 46px; }
  .signin2 .lead { font-size: 16px; }
  .signin2 .eyebrow { margin-top: 30px; }
  .srow { flex-direction: column; background: transparent; border: 0; box-shadow: none; padding: 0; gap: 10px; }
  .srow input { background: #fff; border: 1px solid var(--line); border-radius: 999px; min-height: 52px; }
  .srow .pill { min-height: 52px; font-size: 16px; }
  .sfan { zoom: .5; margin-top: 40px; }
  .scard { padding: 22px 20px; }
}

/* ---------- Record video: one short top, then every script ---------- */
.rvtop { background: var(--paper); padding: 40px 20px 0; overflow: hidden; }
.rvtop .wrap { display: flex; align-items: flex-end; gap: 40px; }
.rvtop .tx { flex: 1; padding-bottom: 36px; }
.rvtop .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--brand); }
.rvtop h1 { font-size: 52px; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 0; line-height: 1.05; }
.rvtop p { font-size: 18px; font-weight: 500; color: #3a3a3c; margin: 8px 0 0; }
.rvtop .pills { justify-content: flex-start; margin-top: 18px; }
.rvtop .tphone { width: 170px; height: 220px; flex: none; margin: 0 20px 0 0; }
.look .vre { background: var(--ink); color: #fff; border: none; border-left: 6px solid var(--brand); border-radius: 16px; padding: 16px 20px; }
.look .vre .vic { background: var(--brand); color: #fff; border-radius: 50%; }
.look .vre b { font-size: 17px; }
.look .vre span span { color: #CFCBC5; }
.look .vre .vchev { color: #fff; }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; margin: 14px 0 0; }
.seg a { font-size: 14px; font-weight: 600; padding: 8px 20px; border-radius: 999px; color: var(--muted); text-decoration: none; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.sgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.sc { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; min-width: 0; color: var(--ink); text-decoration: none; transition: box-shadow .15s; }
.sc:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.sc .top { display: flex; justify-content: flex-end; height: 20px; }
.st { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.st.ask { background: var(--brand); color: #fff; }
.st.re { background: #FFF1D6; color: #8A5A00; }
.st.test { background: #FFF4DB; color: #8A5A00; }
.sc > b { font-size: 17px; line-height: 1.25; margin-top: 4px; height: 2.5em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sc q { font-size: 13px; color: #3a3a3c; font-style: italic; line-height: 1.45; margin-top: 6px; height: 2.9em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; quotes: "“" "”"; }
.sc .bt { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.sc .m { flex: 1; font-size: 12px; font-weight: 600; color: var(--muted); }
.look .vlist { max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.look .vrow.videa { background: var(--ink); color: #fff; border-left-width: 6px; }
.look .vrow.videa small { color: #CFCBC5; }
.vscript { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--c); border-radius: 14px; padding: 14px 18px; }
.vscript .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.vscript p { font-size: 17px; line-height: 1.55; margin: 8px 0 0; }
@media (max-width: 734px) {
  .rvtop { padding: 26px 20px 0; }
  .rvtop .tphone { display: none; }
  .rvtop h1 { font-size: 36px; }
  .rvtop p { font-size: 15px; }
  .rvtop .tx { padding-bottom: 24px; }
  .sgrid, .look .vlist { grid-template-columns: 1fr; gap: 10px; }
  .sc { padding: 14px 16px; }
  .sc > b { height: auto; -webkit-line-clamp: 1; font-size: 16px; }
  .sc q { display: none; }
  .sc .bt { margin-top: 8px; }
}

/* ---------- every other page (Contacts, Email add-in, a script, search): the same light page top ---------- */
.frame:not(.look) .pagehead, .look .pagehead { background: var(--paper); padding: 30px 20px 24px; }
.pagehead h1 { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.pagehead p { font-size: 16px; }
.body { padding-top: 28px; }
@media (max-width: 734px) { .pagehead h1 { font-size: 32px; } }
.tart img:only-child { transform: none; }
/* the script name: room above and below so it never runs into the date or the line under it */
.hello h1 { margin-top: 34px; }
.hello h1 .sig { font-size: 1.15em; transform: translateY(.12em); }
.hello h1 + .lead { margin-top: 34px; }
.areas .card { min-width: 0; }
@media (max-width: 734px) {
  .hello h1 { margin-top: 26px; }
  .hello h1 + .lead { margin-top: 26px; }
  .fan3 { zoom: .5; }
  .mustage .areas { gap: 8px; }
}
/* Contacts keeps its dark top, as a full-width dark panel */
.frame:not(.look) .pagehead.cthead, .pagehead.cthead { background: var(--ink); color: #fff; }
.vscript .k { display: block; }
@media (max-width: 734px) { .mustage { grid-template-columns: minmax(0, 1fr); } .mustage .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.look #results { display: block; }
.look #results > section { width: auto; }
/* each topic is one sideways shelf; See all opens the whole topic */
.look .strip.secrow { flex-wrap: nowrap; overflow-x: auto; gap: 18px; }
@media (min-width: 900px) { .look .strip.wide .card { width: 200px; } }
.drawer.fmenu[hidden] { display: none; }

/* Older pages: every .btn gets the same pill as the new pages (ink main, light gray second, white on dark) */
.btn { min-height: 44px; padding: 0 22px; border-radius: 999px; border: none; background: rgba(26,26,28,.07); color: var(--ink); box-shadow: none; font: 600 15px/1 Montserrat, sans-serif; transition: transform .1s, background .15s; }
.btn:not(.primary):not(.mini):hover, .btn.light-btn:hover:not(:disabled) { background: rgba(26,26,28,.12); border: none; color: var(--ink); box-shadow: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.primary, .btn.mini:not(.icon) { background: var(--ink); border: none; color: #fff; box-shadow: none; font-size: 15px; font-weight: 600; }
.btn.primary:hover:not(:disabled), .btn.mini:not(.icon):hover { background: #000; color: #fff; box-shadow: none; }
.btn.primary:disabled { background: var(--ink); }
.btn.primary.danger, .btn.primary.danger:hover:not(:disabled) { background: var(--brand); }
.btn.mini { min-height: 40px; font-size: 13px; }
.btn.mini.icon, .btn.mini.icon:hover { background: rgba(26,26,28,.07); border: none; box-shadow: none; color: var(--ink); }
.btn.light-btn { background: rgba(26,26,28,.07); border: none; box-shadow: none; color: var(--ink); }
.btn.block { min-height: 52px; font-size: 16px; }
.btn.sm { min-height: 36px; font-size: 13px; padding: 0 16px; }
.btn.dk, .btn.dk:not(.primary):not(.mini):hover { background: rgba(255,255,255,.14); border: none; color: #fff; box-shadow: none; }
.cthead .btn.primary, .cthead .btn.primary:hover:not(:disabled) { background: #fff; color: var(--ink); }
.la-chg { background: rgba(26,26,28,.07); border: none; box-shadow: none; }
.dark .btn.primary, .dark .btn.mini:not(.icon), .dark .btn.primary:hover:not(:disabled), .dark .btn.mini:not(.icon):hover { background: #fff; color: var(--ink); }
.dark .btn:not(.primary):not(.mini) { background: rgba(255,255,255,.14); color: #fff; }
/* Record video: three phones fanned out like the top pieces */
.phfan { position: relative; margin-top: auto; width: 100%; max-width: 420px; height: 300px; align-self: center; }
.phfan .tphone { position: absolute; bottom: 0; left: 50%; margin: 0 0 0 -105px; transform-origin: 50% 100%; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.phfan .tphone.l { transform: translateX(-62%) rotate(-9deg) scale(.86); }
.phfan .tphone.r { transform: translateX(62%) rotate(9deg) scale(.86); }
.phfan .tphone.m { z-index: 2; }
.phfan .scr.s1 { background: linear-gradient(180deg, #46505A, #2E3338); }
.phfan .scr.s2 { background: linear-gradient(180deg, #5C5348, #3B352F); }
.phfan .scr.s1 .face { background: #B89A80; }
.phfan .scr.s2 .face { background: #D8C2A6; }
.phfan .tphone.l .dot, .phfan .tphone.r .dot { opacity: .6; }
.rvtop .phfan { width: 340px; max-width: none; height: 230px; flex: none; margin: 0 10px 0 0; align-self: flex-end; }
.rvtop .phfan .tphone { width: 170px; height: 220px; margin-left: -85px; }
@media (max-width: 734px) { .phfan { height: 250px; max-width: 330px; } .phfan .tphone { width: 170px; height: 245px; margin-left: -85px; } .rvtop .phfan { display: none; } }
/* Piece cards: soft gray tile, NEW line above the title (always there so rows line up), Share black + Download gray pills at the bottom */
.card.dl .newk { display: block; min-height: 1.3em; margin-top: 6px; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.card.dl .thumb .badge { display: none; }
.card.dl .ttl { font-size: 14px; font-weight: 600; }
.cardacts { gap: 6px; }
.cardacts .btn.mini { flex: 1; min-height: 36px; padding: 0 12px; font-size: 13px; gap: 6px; }
.cardacts .btn.mini.alt { background: rgba(26,26,28,.07); color: var(--ink); }
.cardacts .btn.mini.alt:hover { background: rgba(26,26,28,.12); color: var(--ink); }
.look .grid .card.dl, .look .shelf .card.dl { background: var(--paper); border-radius: 18px; padding: 16px 16px 18px; }
.look .grid .card.dl .thumb, .look .shelf .card.dl .thumb { box-shadow: 0 6px 16px rgba(26,26,28,.12); }
.dark .card.dl .newk { color: #fff; }
.dark .cardacts .btn.mini.alt { background: rgba(255,255,255,.14); color: #fff; }
.areas .card.dl .newk { display: none; }
.areas .cardacts .btn.mini { padding: 0 6px; font-size: 12px; }
.cardacts .btn.mini { min-width: 0; }
@media (max-width: 734px) {
  .look .grid .card.dl, .look .shelf .card.dl { padding: 12px 12px 14px; border-radius: 16px; }
  .cardacts { gap: 5px; }
  .cardacts .btn.mini { padding: 0 8px; font-size: 12px; min-height: 34px; }
}

/* saved videos as pictures (Videos tile, Videos page top): dark card with the title under the video frame, three fanned */
.vfr { position: relative; display: block; overflow: hidden; background: linear-gradient(180deg, #3A3836, #1F1E1D); color: #fff; }
.vfr .vbg { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px; font: 600 13px/1.3 Montserrat, sans-serif; }
.vfr video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; background: transparent; }
.vfr video.ok { opacity: 1; }
.vfr .play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(20,20,22,.55); display: flex; align-items: center; justify-content: center; }
.vfr .play svg { margin-left: 3px; }
.fan3 .fp.vid { width: 190px; border-radius: 18px; background: #1F1E1D; }
.fan3 .fp.vid.m { width: 205px; }
.fan3 .fp .vfr { width: 100%; aspect-ratio: 9 / 16; }
.tart.vids { position: relative; display: block; width: 100%; }
.tart.vids .vtile { position: absolute; bottom: -30px; left: 50%; width: 170px; height: 300px; margin-left: -85px; border-radius: 28px; border: 7px solid #2C2B2D; background: #2C2B2D; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.25); color: #fff; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.tart.vids .vfr { width: 100%; height: 100%; border-radius: 21px; }
.vtile.playing { transform: translateY(-14px) scale(1.05); cursor: default; }
.vtile.playing .play, .vtile.playing .vbg { opacity: 0; pointer-events: none; transition: opacity .3s; }

/* Record video: the three phones rise up from the bottom of the box and fan out when it comes into view */
.tile2 .phfan .tphone { transition: transform 1s cubic-bezier(.2,.8,.2,1) .25s; }
.tile2.rv:not(.in) .phfan .tphone { transform: translateY(110%); }
.tile2.rv:not(.in) .phfan .tphone.l, .tile2.rv:not(.in) .phfan .tphone.r { transform: translateY(110%) scale(.86); }
.tile2.rv .phfan .tphone.l { transition-delay: .4s; }
.tile2.rv .phfan .tphone.r { transition-delay: .5s; }
.tile2 .phfan { overflow: visible; }

/* Videos box: a bigger phone that fills the box */
.tart.vids { height: 380px; }
.tart.vids .vtile { width: 214px; height: 380px; margin-left: -107px; bottom: -40px; border-radius: 32px; border-width: 8px; }
.tart.vids .vfr { border-radius: 24px; }
@media (max-width: 734px) { .tart.vids { height: 340px; } .tart.vids .vtile { width: 190px; height: 338px; margin-left: -95px; } }

/* market update video beside the city pictures: a still from the video (never a black box), plays in place */
.muvid.muplay { display: block; position: relative; aspect-ratio: 16 / 10; max-height: 480px; color: #fff; }
.muvid.muplay .vfr { position: absolute; inset: 0; }
.muvid.muplay video { object-fit: contain; background: #000; }
.muvid.muplay .play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
.muplay.playing .play, .muplay.playing .vbg { opacity: 0; pointer-events: none; transition: opacity .3s; }

/* Home: the Earth zooms down onto the rep's cities as they scroll toward the market update */
.earth { height: 210vh; background: var(--ink); margin-top: 12px; position: relative; }
.earth .estick { position: sticky; top: var(--headh); height: calc(100vh - var(--headh)); height: calc(100svh - var(--headh)); overflow: hidden; }
.earth canvas { display: block; width: 100%; height: 100%; }
.earth + .panel.dark { margin-top: 0; }
.earth.still { height: auto; }
.earth.still .estick { position: static; height: 60vh; }
@media (max-width: 734px) { .earth { height: 180vh; } }
/* the dark market update box right under the Earth never fades as a whole (the white page showed through the seam);
   only its words and pictures rise in */
.earth + .panel.dark.rv { opacity: 1; transform: none; transition: none; }
.earth + .panel.dark.rv > * { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.earth + .panel.dark.rv:not(.in) > * { opacity: 0; transform: translateY(28px); }
.earth + .panel.dark { margin-top: -1px; }

/* Lock the page sideways on phones: nothing (like the carousel sliding in) may widen the page */
.car { overflow-x: clip; }
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
