/* joeconsorti.com preview. Hero cutout, terminal and room in one section. */

:root {
  --bg: #050607;
  --card: #0c0e12;
  --line: #23282f;
  --text: #f3f5f7;
  --dim: #9aa3ae;
  --mute: #6e7784;
  --orange: #fd6f0b;
  --orange-ink: #1a0d00;
  --green: #3ee0a2;
  --red: #ff5b4a;
  --amber: #f0c14a;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --col: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
button, a { font: inherit; }
::selection { background: var(--orange); color: var(--orange-ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
section[id], #room { scroll-margin-top: 24px; }
#newsletter { scroll-margin-top: 88px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.flag {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 6px 16px;
  background: #0c0e12;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.top {
  position: relative;
  z-index: 2;
  background: transparent;
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}
.brand img { display: block; width: 28px; height: 28px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand-name small { color: var(--orange); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.nav a, .nav button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--dim);
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
}
.nav a:hover, .nav button:hover { color: var(--text); }

.wrap {
  width: var(--col);
  max-width: calc(100% - 48px);
  margin-inline: auto;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 28px 0 0;
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 28px;
  align-items: start;
}
.hero-copy { padding-top: 18px; }
.hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 8px 8px 0;
  min-width: 0;
  overflow: visible;
}
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -120%;
  right: -28%;
  top: -220px;
  bottom: -24px;
  background: radial-gradient(ellipse at 58% 42%, rgba(253, 111, 11, 0.20) 0%, rgba(253, 111, 11, 0.09) 34%, rgba(253, 111, 11, 0.035) 58%, transparent 76%);
  filter: blur(42px);
  pointer-events: none;
}
.hero-photo .cut {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 56px rgba(253, 111, 11, 0.18)) drop-shadow(0 22px 36px rgba(0, 0, 0, 0.4));
}
.hero-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 68%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 68%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
  mask-composite: intersect;
}
html.motion .hero-photo img { animation: rise 0.8s ease both; }
.kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(46px, 5vw, 68px); }
h2 { font-size: clamp(32px, 3.2vw, 44px); }
h3 { font-size: 22px; letter-spacing: -0.02em; }
.lede { margin: 14px 0 0; max-width: 38rem; color: var(--dim); font-size: 17px; }
.fine { margin: 12px 0 0; color: var(--mute); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.proof a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 64px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
}
.proof b { font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.proof span { color: var(--mute); font-size: 12px; line-height: 1.3; }
.proof a:hover { border-color: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--orange-ink);
  text-decoration: none;
  font-weight: 600;
}
.btn:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); filter: none; }
.text-cta { color: var(--orange); font-weight: 600; text-decoration: none; }
.text-cta:hover { text-decoration: underline; }

.product { display: grid; gap: 10px; min-width: 0; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
}
.card-hd {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chev { color: var(--orange); font-style: normal; margin-right: 6px; }
.mute { color: var(--mute); }
.score-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 18px 16px 0;
}
.score-main { min-width: 0; }
.score { font-size: 76px; font-weight: 500; letter-spacing: -0.04em; line-height: 0.85; color: var(--orange); }
.of { margin-left: 6px; color: var(--mute); font-size: 16px; }
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 0;
}
.regime { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; }
.signal { text-align: right; padding-bottom: 4px; }
.k { display: block; color: var(--mute); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.verdict { margin: 4px 0 0; font-family: var(--mono); font-size: 26px; letter-spacing: 0.06em; line-height: 1; }
.verdict.up { color: var(--green); }
.verdict.down { color: var(--red); }
.verdict.mid { color: var(--amber); }
.delta { margin: 0; color: var(--dim); font-size: 13px; }
.track {
  position: relative;
  height: 2px;
  margin: 14px 16px 0;
  background: #1c2128;
}
.track i {
  position: absolute;
  top: -7px;
  left: 0;
  width: 2px;
  height: 16px;
  background: var(--orange);
}
html.motion .track i { transition: left 0.9s ease; }
.spark { display: block; width: calc(100% - 32px); height: 56px; margin: 8px 16px 14px; }
.spark path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html.motion .spark path { animation: draw 1.3s ease 0.12s forwards; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top-width: 1px;
}
.metrics div { padding: 12px 14px; }
.metrics div + div { border-left: 1px solid var(--line); }
.metrics span { display: block; color: var(--mute); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; }
.metrics b { display: block; margin-top: 4px; font-weight: 500; font-size: 16px; }

html.motion .product .card:first-child { animation: rise 0.7s ease both; }
html.motion .metrics { animation: rise 0.7s ease 0.08s both; }
html.motion .proof li { animation: rise 0.6s ease both; }
html.motion .proof li:nth-child(2) { animation-delay: 0.06s; }
html.motion .proof li:nth-child(3) { animation-delay: 0.12s; }

.block { padding: 40px 0; border-top: 1px solid var(--line); }
.term {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 400px);
  gap: 28px;
  align-items: start;
}
.stacks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  margin-top: 18px;
}
.stacks .kicker { margin-bottom: 0; }
ul { margin: 8px 0 0; padding: 0; list-style: none; }
.stacks li, .offer li {
  margin: 0;
  padding: 8px 0 8px 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  position: relative;
}
.stacks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  background: var(--orange);
}
.room-cta {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  background: var(--card);
}
.room-cta .price { margin: 0; }
.price .num { font-size: 48px; letter-spacing: -0.04em; line-height: 1; }
.per { margin-left: 4px; color: var(--mute); font-size: 15px; }
.room-cta .btn { width: 100%; margin-top: 10px; }
.room-cta .btn + .btn { margin-top: 8px; }

.sec { margin-bottom: 18px; }
.sec-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.offers, .videos { display: grid; gap: 12px; }
.offers { grid-template-columns: 1fr 1fr; }
.videos { grid-template-columns: 1fr 1fr 1fr; }
.offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  background: #080a0d;
}
.offer .price { margin: 4px 0 0; }
.offer > p { margin: 10px 0 0; color: var(--dim); }
.offer .btn { align-self: flex-start; margin-top: 16px; }
.offer:hover { border-color: #3a414c; }

.vcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #080a0d;
}
.vcard img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #101318; }
.vmeta { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; }
.vmeta time { color: var(--mute); font-family: var(--mono); font-size: 12px; }
.vmeta strong { font-weight: 500; font-size: 15px; letter-spacing: -0.015em; line-height: 1.3; }
.vcard:hover { border-color: var(--orange); }

.follow { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; margin: 16px 0 0; }
.follow a, .follow button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.follow a:hover, .follow button:hover { color: var(--orange); }

.news-card {
  max-width: 560px;
  margin-top: 16px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
}
#newsletter-form { min-height: 47px; }
#newsletter .lede { max-width: 36rem; }

.legal { padding: 28px 0 40px; border-top: 1px solid var(--line); }
.legal p { margin: 0; max-width: 46rem; color: var(--mute); font-size: 13px; line-height: 1.5; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; }
.links a { color: var(--dim); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; }
.links a:hover { color: var(--orange); }
.copy { margin-top: 10px; }

.dock { display: none; }

.exit {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 6, 7, 0.72);
}
.exit[hidden] { display: none; }
.exit-card {
  position: relative;
  width: min(440px, 100%);
  padding: 28px 28px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
}
.exit-card h2 { font-size: 34px; }
.exit-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
#exit-form { margin-top: 16px; min-height: 48px; }
body.exit-open { overflow: hidden; }

html.motion .reveal.in { animation: rise 0.55s ease; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise {
  from { transform: translateY(8px); }
  to { transform: none; }
}

@media (max-width: 860px) {
  body { padding-bottom: 76px; }
  .wrap { max-width: calc(100% - 28px); }
  .hero { padding: 6px 0 0; }
  .hero-copy { padding-top: 2px; }
  .hero-grid, .term { grid-template-columns: 1fr; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-photo { display: none; }
  .top-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 0;
  }
  .nav {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, .nav button { font-size: 13px; white-space: nowrap; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .lede { margin-top: 8px; font-size: 15px; }
  .fine { margin-top: 8px; }
  .actions { margin-top: 12px; gap: 8px; }
  .actions .btn, .room-cta .btn { width: 100%; }
  .proof { gap: 6px; margin-top: 12px; }
  .proof a { min-height: 0; padding: 8px; }
  .proof b { font-size: 15px; }
  .proof span { font-size: 11px; }
  .block { padding: 18px 0; }
  .term { gap: 14px; }
  .stacks { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .stacks ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .stacks li {
    padding: 6px 10px;
    border: 1px solid var(--line);
    background: #080a0d;
    font-size: 13px;
  }
  .stacks li::before { display: none; }
  .stacks li:nth-child(n+5) { display: none; }
  .product { max-width: none; }
  .score { font-size: 52px; }
  .verdict { font-size: 20px; }
  .score-row { padding: 12px 12px 0; }
  .card-hd { padding: 8px 12px; }
  .spark { height: 40px; margin: 6px 12px 10px; }
  .metrics div { padding: 8px 10px; }
  .metrics b { font-size: 14px; }
  .room-cta { padding: 12px; }
  .price .num { font-size: 36px; }
  .sec { margin-bottom: 10px; }
  .sec-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sec-row .btn { min-height: 40px; }
  .offers, .videos {
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .offers::-webkit-scrollbar, .videos::-webkit-scrollbar { display: none; }
  .offer, .vcard { flex: 0 0 84%; scroll-snap-align: start; }
  .offer { padding: 12px; }
  .offer > p { font-size: 14px; }
  .offer li { font-size: 13px; padding: 6px 0 6px 12px; }
  .offer .btn { width: 100%; min-height: 42px; margin-top: 10px; }
  .vmeta { padding: 8px 10px 10px; }
  .vmeta strong { font-size: 14px; }
  .follow { margin-top: 10px; gap: 8px 16px; }
  #newsletter { scroll-margin-top: 72px; }
  .news-card { margin-top: 12px; padding: 14px; }
  .legal { padding: 18px 0 28px; }
  .dock {
    display: flex;
    position: fixed;
    z-index: 12;
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--orange-ink);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 380px) {
  h1 { font-size: 28px; }
  .proof { grid-template-columns: 1fr 1fr 1fr; }
  .nav a, .nav button { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
