/* HomeJoy · Samantha Greene, REALTOR®
   Palette pulled from Samantha's flyers: cornflower blue + deep navy,
   with soft gold accents, Bricolage Grotesque headlines and Caveat script. */

:root {
  --blue: #4f86e4;
  --blue-600: #2f66c8;
  --blue-100: #e6efff;
  --blue-50: #f3f7ff;
  --ink: #0e1a3a;
  --ink-2: #33415f;
  --ink-3: #66718c;
  --cream: #fff9f0;
  --paper: #ffffff;
  --sun: #d6b06a;
  --gold: #b8924f;
  --pink: #b8924f;
  --mint: #5f7896;
  --coral: #2f66c8;
  --line: rgba(14, 26, 58, .12);
  --rainbow: linear-gradient(90deg, #4f86e4, #d6b06a);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -20px rgba(14, 26, 58, .35);
  --shadow-sm: 0 8px 24px -12px rgba(14, 26, 58, .3);
  --display: "Bricolage Grotesque", "DM Sans", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--blue-600); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .45em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--rainbow); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.fine { font-size: .78rem; color: var(--ink-3); line-height: 1.5; }

/* Grogan-style two-line section head with a dashed rule, with more color */
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 span { display: block; color: var(--blue); }
.sec-head h2 .script { display: inline; color: var(--gold); }
.sec-head::after {
  content: ""; display: block; width: 64px; height: 0; margin-top: 22px;
  border-top: 2px solid var(--gold);
}
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; max-width: none; }
.sec-head.split-head::after { display: none; }
.sec-head.center::after { margin-inline: auto; }

section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; line-height: 1.1;
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s, background .2s;
  box-shadow: 0 10px 24px -12px rgba(14, 26, 58, .6);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-blue { --bg: var(--blue); }
.btn-sun { --bg: var(--sun); --fg: var(--ink); }
.btn-pink { --bg: var(--pink); }
.btn-ghost { --bg: transparent; --fg: currentColor; box-shadow: inset 0 0 0 2px currentColor; }
.btn-white { --bg: #fff; --fg: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 700; text-decoration: none; color: var(--blue-600); display: inline-flex; gap: 6px; align-items: center; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s, color .3s;
  color: #fff;
}
.site-header.solid, .site-header.always-solid {
  background: rgba(255, 249, 240, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.logo svg, .logo img { width: 48px; height: 48px; flex: none; }
.logo-word { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -.01em; line-height: 1; }
.logo-word em { font-style: italic; font-weight: 400; color: var(--sun); margin-left: 1px; }
.site-header.solid .logo-word em, .site-header.always-solid .logo-word em { color: var(--blue); }
.logo-sub { display: block; white-space: nowrap; font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; margin-top: 3px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: inherit; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px; transition: background .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(127, 140, 170, .18); }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(127, 140, 170, .2); color: inherit; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-cta .btn-call { display: none; }
  .nav-open .site-header { background: var(--cream); color: var(--ink); }
  .nav-open .nav-links {
    display: flex; flex-direction: column; position: fixed; inset: 76px 0 auto 0;
    background: var(--cream); padding: 12px 16px 24px; gap: 2px; box-shadow: var(--shadow);
    max-height: calc(100vh - 76px); overflow: auto;
  }
  .nav-open .nav-links a { font-size: 1.2rem; padding: 14px 12px; display: block; }
}
@media (max-width: 520px) {
  .logo-sub { display: none; }
  .nav-cta .btn { padding: 10px 14px; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; padding: 0; display: grid; align-items: end;
  color: #fff; overflow: hidden; isolation: isolate; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04);
}
.hero-media .on { opacity: 1; animation: drift 12s ease-out forwards; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1.01); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 26, 58, .55) 0%, rgba(14, 26, 58, 0) 26%),
    linear-gradient(0deg, rgba(14, 26, 58, .92) 0%, rgba(14, 26, 58, .55) 38%, rgba(14, 26, 58, 0) 70%),
    linear-gradient(90deg, rgba(14, 26, 58, .55), rgba(14, 26, 58, 0) 60%);
}
.hero-inner { padding: 140px 0 clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.hero h1 { max-width: 13ch; text-wrap: balance; }
.hero h1 .script { color: var(--sun); }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 50ch; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(8px); padding: 7px 14px 7px 8px; border-radius: 999px; font-size: .9rem; font-weight: 600;
}
.hero-tag img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(46, 196, 166, .3); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(46, 196, 166, 0); } }
.hero-scenes { display: flex; flex-direction: column; gap: 8px; min-width: 240px; }
.scene-btn {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2);
  padding: 10px 14px; border-radius: 14px; backdrop-filter: blur(8px); font-size: .9rem; font-weight: 600;
  position: relative; overflow: hidden; transition: background .2s;
}
.scene-btn small { display: block; font-weight: 500; opacity: .7; font-size: .75rem; }
.scene-btn .num { font-family: var(--display); font-weight: 800; opacity: .6; }
.scene-btn.on { background: rgba(255, 255, 255, .22); }
.scene-btn .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--sun); }
.scene-btn.on .bar { animation: fill var(--dur, 8s) linear forwards; }
@keyframes fill { to { width: 100%; } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-scenes { flex-direction: row; overflow-x: auto; min-width: 0; scrollbar-width: none; }
  .scene-btn { flex: none; }
}

/* marquee */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.2rem; white-space: nowrap; display: inline-flex; gap: 40px; align-items: center; }
.ticker span::after { content: "◆"; color: var(--sun); font-size: .6em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stat strip */
.stats { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; letter-spacing: -.02em; }
.stat b { color: var(--ink); }
.stat:nth-child(2n) b { color: var(--blue-600); }
.stat span { font-size: .9rem; color: var(--ink-3); font-weight: 500; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- meet sammy ---------- */
.meet-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
/* The 9 years photo is landscape: show all of it (sign + Samantha), with the headshot
   tucked over the plain wall under "in real estate" and the sticker below. */
.meet-photos { position: relative; padding-bottom: 18%; }
.meet-photos .p1 { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 1142; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.meet-photos .p2 {
  position: absolute; left: 4%; bottom: 0; width: 40%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 18px; border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(-4deg);
}
.meet-photos .sticker {
  position: absolute; right: 4%; bottom: 4%; background: var(--ink); color: #fff;
  font-family: var(--display); font-style: italic; font-size: 1.15rem; line-height: 1; padding: 14px 18px; border-radius: 4px;
  box-shadow: var(--shadow-sm); border-left: 3px solid var(--sun);
}
.fun-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.fun-facts li {
  display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px;
  padding: 12px 14px; font-weight: 600; font-size: .95rem; box-shadow: 0 1px 0 var(--line);
}
.fun-facts .ico { font-size: 1.3rem; }
.signature { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--blue-600); line-height: 1; margin-top: 8px; }
@media (max-width: 860px) {
  .meet-grid { grid-template-columns: 1fr; }
  .meet-photos { max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .meet-photos .p2 { width: 38%; border-width: 4px; }
  .meet-photos .sticker { font-size: .95rem; padding: 10px 12px; right: 2%; }
}
@media (max-width: 420px) { .fun-facts { grid-template-columns: 1fr; } }

/* ---------- offers ---------- */
.offers { background: var(--ink); color: #fff; overflow: hidden; }
.offers .sec-head h2 span { color: var(--sun); }
.offers .sec-head::after { border-color: var(--sun); }
.offers .lead { color: rgba(255, 255, 255, .8); }
.offer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.offer {
  border-radius: var(--radius); padding: clamp(26px, 4vw, 42px); position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; min-height: 420px;
}
.offer h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.offer-buy { background: linear-gradient(150deg, #3f74d6 0%, #1f3f86 100%); }
.offer-sell { background: #fff; color: var(--ink); }
.offer-big { font-family: var(--display); font-weight: 500; font-size: clamp(4rem, 9vw, 7rem); line-height: .85; letter-spacing: -.03em; }
.offer-big small { display: block; font-size: .22em; letter-spacing: .02em; font-weight: 700; margin-top: 10px; }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offer li { display: flex; gap: 10px; align-items: flex-start; }
.offer li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: rgba(255, 255, 255, .22); margin-top: 2px; }
.offer-sell li::before { background: var(--blue-100); color: var(--blue-600); }
.offer .btn-row { margin-top: auto; }
.offer .fine { color: inherit; opacity: .75; }
.offer-deco { position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.offer-sell .offer-deco { background: var(--blue-50); }
/* Buying / Selling gift tags. Buying hangs off the top corner (so the card can't clip);
   Selling sits in the card's flow above its button, so neither can ever cover copy. */
.offer-grid { padding-top: 64px; }
.offer.has-tag { overflow: visible; }
.offer.has-tag .offer-deco { clip-path: inset(40px 40px 0 0 round 0 var(--radius) 0 0); }
.offer-tag {
  height: auto; filter: drop-shadow(0 14px 18px rgba(4, 10, 28, .35)); pointer-events: none; z-index: 2;
  animation: tag-sway 5.5s ease-in-out infinite;
}
.offer-buy .offer-tag { --tilt: 8deg; position: absolute; top: -86px; right: clamp(14px, 3vw, 34px); width: clamp(110px, 13vw, 176px); transform-origin: 34% 6%; }
.offer-sell .offer-tag { --tilt: -7deg; align-self: flex-end; width: clamp(118px, 12vw, 158px); margin: auto 6px -4px 0; transform-origin: 62% 6%; animation-delay: -2.4s; }
.offer-sell.has-tag .btn-row { margin-top: 0; }
.offer.has-tag:hover .offer-tag { animation-duration: 1.6s; }
@keyframes tag-sway { 0%, 100% { transform: rotate(var(--tilt)); } 50% { transform: rotate(calc(var(--tilt) * -.4)); } }
@media (prefers-reduced-motion: reduce) { .offer-tag { animation: none; transform: rotate(var(--tilt)); } }
@media (max-width: 900px) { .offer-grid { grid-template-columns: 1fr; } .offer { min-height: 0; } .offer-sell .offer-tag { margin-top: 4px; } }

/* numbered experience cards (Grogan "seven things" pattern) */
.num-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; counter-reset: n; }
.num-card {
  background: #fff; border-radius: var(--radius-sm); padding: 26px 24px 24px; position: relative;
  box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s;
}
.num-card:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow); }
.num-card::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  font-family: var(--display); font-style: italic; font-weight: 400; font-size: 2.2rem; line-height: 1; display: block; margin-bottom: 12px;
  color: var(--gold);
}
.num-card:nth-child(7n+1)::before { background-position: 0 0; }
.num-card:nth-child(7n+2)::before { background-position: 20% 0; }
.num-card:nth-child(7n+3)::before { background-position: 40% 0; }
.num-card:nth-child(7n+4)::before { background-position: 60% 0; }
.num-card:nth-child(7n+5)::before { background-position: 80% 0; }
.num-card:nth-child(7n+6)::before { background-position: 100% 0; }
.num-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.num-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.num-card .tag { position: absolute; top: 22px; right: 20px; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--gold); color: var(--gold); padding: 3px 8px; border-radius: 999px; }
a.num-card { text-decoration: none; color: inherit; display: block; }
.num-card.has-img { padding: 0; overflow: hidden; }
.num-card.has-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s; }
.num-card.has-img:hover img { transform: scale(1.04); }
.num-card.has-img .nc-body { padding: 20px 22px 24px; position: relative; }
.num-card.has-img::before { position: absolute; z-index: 2; top: 14px; left: 16px; color: #fff; text-shadow: 0 2px 12px rgba(14, 26, 58, .55); margin: 0; }
.num-card .more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--blue-600); }

/* ---------- reimagine ---------- */
.reimagine { background: var(--blue-50); }
.ri-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ri-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.ri-tab {
  border: 2px solid var(--line); background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  transition: all .2s;
}
.ri-tab:hover { border-color: var(--blue); }
.ri-tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ba {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow);
  user-select: none; touch-action: pan-y; background: #ddd; --pos: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); transition: opacity .35s; }
.ba .handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.ba .handle::after {
  content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 800; color: var(--ink); box-shadow: var(--shadow-sm);
}
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .lbl {
  position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; background: rgba(14, 26, 58, .78); color: #fff; pointer-events: none;
}
.ba .lbl-l { left: 14px; }
.ba .lbl-r { right: 14px; background: var(--blue-600); }
@media (max-width: 900px) { .ri-grid { grid-template-columns: 1fr; } }

/* ---------- calculator ---------- */
.calc {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.calc label { font-weight: 700; font-size: .9rem; display: flex; justify-content: space-between; gap: 10px; }
.calc label output { font-family: var(--display); font-size: 1.2rem; font-weight: 600; color: var(--blue-600); }
.calc input[type=range] { width: 100%; accent-color: var(--blue); height: 28px; }
.calc .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc .field { display: grid; gap: 6px; }
.calc .field input {
  border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 600; width: 100%; background: var(--cream);
}
.calc-result { background: var(--blue-50); border-radius: 16px; padding: 18px 20px; text-align: center; }
.calc-result b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.calc-result span { font-size: .9rem; color: var(--ink-2); }

/* ---------- events ---------- */
.ev-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.ev {
  background: #fff; border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line); transition: transform .3s, box-shadow .3s; position: relative;
}
.ev:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ev-top { display: flex; gap: 14px; padding: 20px 20px 0; align-items: flex-start; }
.ev-date {
  flex: none; width: 66px; text-align: center; border-radius: 14px; padding: 8px 4px; color: #fff; background: var(--blue);
  font-family: var(--display); line-height: 1;
}
.ev-date .m { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; display: block; opacity: .9; }
.ev-date .d { font-size: 1.8rem; font-weight: 500; display: block; margin-top: 4px; }
.ev-date .tba { font-size: .85rem; font-weight: 800; display: block; margin-top: 6px; }
.ev[data-cat="downtown"] .ev-date { background: var(--ink); }
.ev[data-cat="tampa"] .ev-date { background: var(--blue-600); }
.ev[data-cat="festival"] .ev-date { background: var(--gold); }
.ev[data-cat="holiday"] .ev-date { background: #5f7896; }
.ev[data-cat="arts"] .ev-date { background: #3b4d7a; }
.ev h3 { font-size: 1.15rem; margin: 0 0 4px; }
.ev .where { font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.ev-body { padding: 12px 20px 18px; font-size: .95rem; color: var(--ink-2); flex: 1; }
.ev-body p { margin: 0; }
.ev-foot { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px dashed var(--line); font-size: .85rem; flex-wrap: wrap; }
.ev-foot a, .ev-foot button { font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; color: var(--blue-600); }
.ev-foot button:hover, .ev-foot a:hover { text-decoration: underline; }
.ev .check { font-size: .75rem; font-weight: 700; color: #a8650a; background: #fff3d6; padding: 3px 8px; border-radius: 999px; display: inline-block; margin-top: 10px; }
.ev .pick { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 700; font-size: .72rem; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.ev:not(.has-media) .pick { position: static; display: inline-block; margin: 14px 0 -8px 20px; align-self: flex-start; }
.ev.has-media .ev-media { aspect-ratio: 16/8; position: relative; overflow: hidden; }
.ev.has-media .ev-media video, .ev.has-media .ev-media img { width: 100%; height: 100%; object-fit: cover; }
.ev-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  border: 2px solid var(--line); background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .88rem;
  display: inline-flex; gap: 8px; align-items: center;
}
.chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ev-month { grid-column: 1 / -1; font-family: var(--display); font-weight: 500; font-size: 1.6rem; margin: 18px 0 -4px; display: flex; align-items: center; gap: 14px; }
.ev-month::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px; color: var(--ink-3); }

/* ---------- places ---------- */
.places { background: var(--ink); color: #fff; }
.places .sec-head h2 span { color: var(--sun); }
.places .sec-head::after { border-color: var(--sun); }
.place-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.place {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate;
}
.place video, .place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.place:hover video, .place:hover img { transform: scale(1.06); }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 26, 58, .92) 0%, rgba(14, 26, 58, .2) 55%, rgba(14, 26, 58, 0) 100%); }
.place h3 { font-size: 2rem; font-weight: 500; margin-bottom: 6px; }
.place p { font-size: .95rem; opacity: .9; margin-bottom: 12px; }
.place .vibes { display: flex; flex-wrap: wrap; gap: 6px; }
.place .vibes span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.place .badge { position: absolute; top: 18px; left: 18px; font-family: var(--display); font-style: italic; font-size: 1.05rem; color: #fff; background: rgba(14, 26, 58, .45); backdrop-filter: blur(6px); padding: 4px 12px; border-radius: 999px; }
@media (max-width: 1100px) { .place-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .place-grid { grid-template-columns: 1fr; } .place { min-height: 380px; } }
.joy-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 40px; padding: 0; list-style: none; }
.joy-list li { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: 18px; }
.joy-list b { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 4px; }
.joy-list span { font-size: .9rem; opacity: .8; }

/* ---------- quiz ---------- */
.quiz { background: linear-gradient(180deg, var(--cream), var(--blue-50)); }
.quiz-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); max-width: 860px; margin-inline: auto; position: relative; overflow: hidden; }
.quiz-progress { height: 8px; background: var(--blue-50); border-radius: 8px; overflow: hidden; margin-bottom: 26px; }
.quiz-progress i { display: block; height: 100%; width: 0; background: var(--rainbow); transition: width .4s; }
.quiz-q h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 20px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
.quiz-opt {
  text-align: left; border: 2px solid var(--line); background: var(--cream); border-radius: 16px; padding: 16px 18px; font-weight: 600;
  display: flex; gap: 12px; align-items: center; transition: transform .15s, border-color .15s, background .15s; color: var(--ink);
}
.quiz-opt:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); }
.quiz-opt .e { font-size: 1.6rem; }
.quiz-result { text-align: center; }
.quiz-result .e { font-size: 4rem; display: block; animation: pop .6s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { from { transform: scale(0) rotate(-30deg); } }
.quiz-result h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--blue-600); }
@media (max-width: 600px) { .quiz-opts { grid-template-columns: 1fr; } }

/* ---------- life / gallery ---------- */
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.life-grid figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.life-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.life-grid figure:hover img { transform: scale(1.05); }
.life-grid figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.life-grid .tall { grid-row: span 2; }
.life-grid .wide { grid-column: span 2; }
@media (max-width: 760px) { .life-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

/* ---------- joy list signup ---------- */
.signup { background: linear-gradient(150deg, #24427f, var(--ink)); color: #fff; overflow: hidden; }
.signup-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.signup h2 span { color: var(--sun); display: block; }
.form { display: grid; gap: 12px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%; border: 0; border-radius: 14px; padding: 15px 16px; font: inherit; background: #fff; color: var(--ink);
}
.form textarea { min-height: 110px; resize: vertical; }
.form .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.form .checks label { display: inline-flex; gap: 8px; align-items: center; background: rgba(255, 255, 255, .16); padding: 8px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; cursor: pointer; }
.form .checks input { width: auto; accent-color: var(--blue); }
.form .fine { color: rgba(255, 255, 255, .78); }
.form-light input, .form-light select, .form-light textarea { background: var(--cream); border: 2px solid var(--line); }
.form-light .checks label { background: var(--blue-50); color: var(--ink); }
.form-light .fine { color: var(--ink-3); }
.form-done { display: none; background: rgba(255, 255, 255, .16); border-radius: 16px; padding: 22px; font-weight: 600; }
.form.sent .form-done { display: block; }
.form.sent > :not(.form-done) { display: none; }
.form-light .form-done { background: var(--blue-50); }
.form-error { margin: 0; background: #fff3f0; color: #8a2414; border-radius: 12px; padding: 12px 14px; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.form-error a { color: inherit; text-decoration: underline; white-space: nowrap; }
button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 860px) { .signup-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form .row2, .calc .row2 { grid-template-columns: 1fr; } }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 150px 0 70px; color: #fff; position: relative; overflow: hidden; isolation: isolate; background: var(--ink); min-height: 70svh; display: flex; align-items: flex-end; }
.page-hero video, .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 26, 58, .92), rgba(14, 26, 58, .35) 65%, rgba(14, 26, 58, .55)); }
.page-hero h1 { max-width: 16ch; }
.page-hero h1 .script { color: var(--sun); }
.page-hero .lead { color: rgba(255, 255, 255, .88); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius-sm); padding: 24px; position: relative; box-shadow: 0 1px 0 var(--line); }
.step::before { counter-increment: s; content: counter(s); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.2rem; margin-bottom: 14px; }
.step:nth-child(2n)::before { background: var(--blue-600); }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: .95rem; color: var(--ink-2); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 16px; padding: 4px 22px; box-shadow: 0 1px 0 var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

.callout {
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); background: var(--ink); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden;
}
.callout h2 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.callout p { margin: 8px 0 0; }
.callout img { position: absolute; right: 24px; bottom: -14px; width: 120px; opacity: .25; transform: rotate(10deg); }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 70px 0 30px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { color: #fff; font-family: var(--body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand .logo { color: #fff; margin-bottom: 14px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 24px; display: grid; gap: 10px; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.foot-legal .eho { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: rgba(255, 255, 255, .75); }
.foot-legal .eho svg { width: 22px; height: 22px; }
.rainbow-rule { height: 3px; background: var(--rainbow); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* sticky mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; inset: auto 10px 10px 10px; z-index: 60;
    background: var(--ink); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden;
    transform: translateY(140%); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { color: #fff; text-decoration: none; text-align: center; padding: 12px 6px; font-weight: 700; font-size: .85rem; display: grid; gap: 2px; justify-items: center; }
  .mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
  .mobile-bar a:last-child { background: var(--sun); color: var(--ink); }
  .mobile-bar .i { font-size: 1.2rem; line-height: 1; }
  .site-footer { padding-bottom: 100px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* wavy section divider */
.wave { display: block; width: 100%; height: 50px; margin-bottom: -1px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- small-screen safety ---------- */
.split > *, .ri-grid > *, .meet-grid > *, .signup-grid > *, .offer-grid > *, .hero-inner > * { min-width: 0; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) {
  .nav-cta { display: none; }
  .nav { gap: 10px; }
  .logo-word { font-size: 1.4rem; }
}
.hero-tag .scene-name { white-space: nowrap; }
@media (max-width: 520px) { .hero-tag .ns { display: none; } .hero-tag { font-size: .85rem; } }


/* ---------- seller showcase (expanded demos) ---------- */
.showcase { display: grid; gap: clamp(64px, 9vw, 120px); }
.sc-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; scroll-margin-top: 100px; }
.sc-row:nth-child(even) .sc-media { order: 2; }
.sc-row > * { min-width: 0; }
.sc-num { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sc-num::after { content: ""; width: 40px; border-top: 1px solid var(--gold); }
.sc-row h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; margin-bottom: 14px; }
.sc-row ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.sc-row li { padding-left: 26px; position: relative; color: var(--ink-2); }
.sc-row li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--gold); }
.sc-media { position: relative; }
.sc-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; background: var(--blue-50); }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; }
.sc-inset {
  position: absolute; right: -18px; bottom: -28px; width: 46%; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow); border: 5px solid #fff;
}
.sc-row:nth-child(even) .sc-inset { right: auto; left: -18px; }
.sc-inset video, .sc-inset img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.sc-inset figcaption, .sc-cap { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 4px; }
.sc-cap { padding: 10px 0 0; }
@media (max-width: 860px) {
  .sc-row { grid-template-columns: 1fr; }
  .sc-row:nth-child(even) .sc-media { order: 0; }
  .sc-inset { right: 10px; bottom: -20px; width: 52%; }
  .sc-row:nth-child(even) .sc-inset { left: 10px; }
  .sc-media { margin-bottom: 20px; }
}

/* mini browser (property website demo) */
.browser { position: absolute; right: -18px; bottom: -34px; width: 58%; background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.sc-row:nth-child(even) .browser { right: auto; left: -18px; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #f1f3f8; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d9e4; }
.browser-bar span { margin-left: 8px; font-size: .68rem; color: var(--ink-3); background: #fff; border-radius: 6px; padding: 3px 8px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-hero { position: relative; aspect-ratio: 16 / 8; }
.browser-hero img { width: 100%; height: 100%; object-fit: cover; }
.browser-hero b { position: absolute; left: 12px; bottom: 10px; color: #fff; font-family: var(--display); font-weight: 500; font-size: 1rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.browser-tabs { display: flex; gap: 6px; padding: 8px 10px 10px; flex-wrap: wrap; }
.browser-tabs span { font-size: .66rem; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); }

/* phone (social premiere demo) */
.phone {
  position: absolute; right: 4%; bottom: -40px; width: 30%; min-width: 130px; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #0b1122;
  padding: 7px; box-shadow: var(--shadow);
}
.sc-row:nth-child(even) .phone { right: auto; left: 4%; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 20px; overflow: hidden; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; }
.phone-ui { position: absolute; inset: auto 0 0 0; padding: 10px; color: #fff; font-size: .62rem; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent); }
.phone-ui b { display: block; font-size: .7rem; }
.phone-ui .live { position: absolute; top: -180%; left: 10px; background: rgba(255, 255, 255, .9); color: var(--ink); font-weight: 800; letter-spacing: .08em; padding: 2px 6px; border-radius: 4px; }

/* party card + fight card */
.note-card { position: absolute; right: -18px; bottom: -34px; width: 52%; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.sc-row:nth-child(even) .note-card { right: auto; left: -18px; }
.note-card h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.note-card ol, .note-card dl { margin: 0; padding-left: 18px; font-size: .84rem; color: var(--ink-2); display: grid; gap: 4px; }
.note-card dl { padding: 0; grid-template-columns: auto 1fr; column-gap: 12px; }
.note-card dt { font-family: var(--display); font-style: italic; color: var(--gold); }
.note-card dd { margin: 0; }
@media (max-width: 860px) { .browser, .note-card { width: 70%; } .phone { width: 34%; } }
@media (max-width: 480px) { .browser, .note-card { position: relative; inset: auto; width: 100%; margin-top: -30px; } .sc-row:nth-child(even) .browser, .sc-row:nth-child(even) .note-card { left: 0; } }

.note-card.below { position: relative; inset: auto; width: min(380px, 86%); margin: -56px 24px 0 auto; }
.sc-row:nth-child(even) .note-card.below { left: auto; margin: -56px auto 0 24px; }
@media (max-width: 480px) { .note-card.below { width: auto; margin: -30px 10px 0; } .sc-row:nth-child(even) .note-card.below { margin: -30px 10px 0; } }

/* ---------- fun type (Bricolage Grotesque + Caveat) ---------- */
h1, h2 { font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
h3, .sc-row h3, .place h3 { font-weight: 700; letter-spacing: -.015em; }
.script, .hero h1 .script, .sec-head h2 .script, .logo-word em {
  font-family: var(--script); font-style: normal; font-weight: 700; letter-spacing: 0;
}
.script { font-size: 1.12em; line-height: .9; }
.hero h1 .script { display: inline-block; transform: rotate(-2deg); }
.logo-word { font-weight: 800; letter-spacing: -.03em; }
.logo-word em { font-size: 1.22em; margin-left: 1px; }
.ticker span { font-style: normal; font-weight: 700; }
.stat b, .offer-big, .calc-result b, .ev-date .d, .ev-month, .wm-main { font-weight: 800; }
.sticker, .signature, .place .badge, .sc-num, .num-card::before, .step::before, .note-card dt {
  font-family: var(--script); font-style: normal; font-weight: 700;
}
.sticker { font-size: 1.5rem; }
.signature { font-size: 2.2rem; }
.place .badge { font-size: 1.35rem; }
.sc-num { font-size: 1.7rem; }
.num-card::before { font-size: 2.6rem; }
.step::before { font-size: 1.5rem; }
.note-card dt { font-size: 1.15rem; line-height: 1.1; }

.sc-quote { margin: 22px 0 0; padding: 18px 20px; background: #fff; border-left: 3px solid var(--sun); border-radius: 0 14px 14px 0; font-size: .98rem; color: var(--ink-2); box-shadow: 0 1px 0 var(--line); }
.sc-quote cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .82rem; color: var(--ink); }
.sc-award { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.sc-award span { background: var(--ink); color: var(--sun); font-family: var(--display); font-weight: 800; padding: 6px 12px; border-radius: 999px; }

.browser.below { position: relative; inset: auto; width: min(420px, 88%); margin: -60px 24px 0 auto; }
@media (max-width: 480px) { .browser.below { width: auto; margin: -30px 10px 0; } }

/* keep offer card content above the decorative circle */
.offer { isolation: isolate; }
.offer-deco { z-index: -1; pointer-events: none; }

.ev .recur { display: inline-block; margin: 10px 8px 0 0; font-size: .75rem; font-weight: 700; color: var(--blue-600); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; }

/* ---------- /logos concept board ---------- */
.lg-hero { padding: 140px 0 40px; background: radial-gradient(circle at 15% 0%, #e2f5f6, transparent 55%), radial-gradient(circle at 90% 10%, #e8efff, transparent 50%), var(--cream); }
.lg-hero-mark { margin-bottom: 14px; filter: drop-shadow(0 12px 18px rgba(30, 163, 172, .25)); }
.lg-hero h1 { max-width: 16ch; }
.lg-hero h1 .script { color: #1ea3ac; display: block; }
.lg-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.lg-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-section { padding-top: 30px; }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.lg-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line); position: relative; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.lg-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lg-open { border: 0; padding: 0; background: #fff; cursor: zoom-in; display: block; width: 100%; }
.lg-open img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform .5s; }
.lg-card:hover .lg-open img { transform: scale(1.03); }
.lg-meta { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.lg-num { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #1ea3ac; }
.lg-meta h3 { font-size: 1.15rem; margin: 4px 0; }
.lg-meta p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.lg-heart { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); font-size: 1.3rem; line-height: 1; color: #e0566f; cursor: pointer; transition: transform .2s; }
.lg-heart:hover { transform: scale(1.12); }
.lg-heart[aria-pressed="true"] { background: #e0566f; color: #fff; }
.lg-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; color: var(--ink-3); background: #fff; border-radius: var(--radius); }
.lg-viewer { border: 0; padding: 0; background: transparent; max-width: min(1100px, 100vw - 20px); width: 100%; }
.lg-viewer::backdrop { background: rgba(14, 26, 58, .82); backdrop-filter: blur(4px); }
.lg-viewer-inner { position: relative; display: flex; align-items: center; gap: 10px; }
.lg-viewer figure { margin: 0; flex: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: #fff; border-radius: var(--radius); overflow: hidden; }
.lg-stage { background: #fff; display: grid; place-items: center; transition: background .3s; }
.lg-stage img { width: 100%; max-height: 78vh; object-fit: contain; }
.lg-viewer figcaption { padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.lg-viewer h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
.lg-viewer p { margin: 0; color: var(--ink-2); }
.lg-swatches { display: flex; gap: 6px; }
.lg-swatches span { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.lg-viewer-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.lg-bg { display: flex; gap: 6px; }
.lg-bg button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.lg-bg button[aria-pressed="true"] { border-color: var(--ink); }
.lg-x { position: absolute; top: -46px; right: 0; border: 0; background: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lg-nav { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lg-nav:hover { background: rgba(255, 255, 255, .3); }
@media (max-width: 760px) {
  .lg-viewer figure { grid-template-columns: 1fr; }
  .lg-viewer figcaption { padding: 18px; }
  .lg-nav { position: absolute; bottom: -58px; } .lg-nav.prev { left: 30%; } .lg-nav.next { right: 30%; }
  .lg-stage img { max-height: 52vh; }
}

.lg-sub { margin-top: 10px; flex-basis: 100%; order: 3; }
.lg-sub .chip { font-size: .8rem; padding: 6px 12px; }
