/* Design tokens mirrored from the Cloned (context-con) site */
@font-face { font-family: openRunde; src: url(../fonts/open-runde-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: openRunde; src: url(../fonts/open-runde-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: openRunde; src: url(../fonts/open-runde-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: openRunde; src: url(../fonts/open-runde-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "openRunde Fallback"; src: local(Arial); ascent-override: 90%; descent-override: 22.43%; line-gap-override: 0%; size-adjust: 107.64%; }

:root {
  --bg: #f7f7f7;
  --card: #fff;
  --ink: #111;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --soft: #efefef;
  --primary: #ed4407;
  --primary-ink: #fff;
  --pet: #E89B12;
  --lifestyle: #E0409A;
  --tech: #2F6BFF;
  --green: #1DA462;
  --font: "openRunde", "openRunde Fallback", ui-rounded, system-ui, sans-serif;
  --radius-card: 1.75rem;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

.display { letter-spacing: -.04em; font-weight: 700; line-height: .95; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.small { font-size: .875rem; }
.semibold { font-weight: 600; }
.center { text-align: center; }
.link-hover:hover { color: var(--primary); }
.underline-primary { text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--primary) 60%, transparent); text-underline-offset: 4px; }
.underline-primary:hover { text-decoration-color: var(--primary); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; border-radius: 999px; transition: filter .2s, transform .15s, background .2s, color .2s; user-select: none; white-space: nowrap; cursor: pointer; border: 0; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 2.25rem; padding: 0 1rem; font-size: .875rem; }
.btn-lg { height: 3.5rem; padding: 0 1.75rem; font-size: 1.125rem; }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { filter: brightness(.95); }
.hero-cta .btn-primary { box-shadow: 0 12px 28px #ed44074d; }
.btn-ghost { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { filter: brightness(.94); }
.btn-outline-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-outline-light:hover { background: rgba(255,255,255,.16); }

/* Nav */
.nav-wrap { position: fixed; inset: .75rem 0 auto; z-index: 50; padding: 0 .75rem; pointer-events: none; }
.nav { pointer-events: auto; margin: 0 auto; width: fit-content; max-width: 100%; display: flex; align-items: center; gap: .125rem; height: 3rem; padding: 0 .375rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.18); }
.nav-logo { font-weight: 700; letter-spacing: -.04em; font-size: 1.05rem; padding: 0 .75rem 0 .65rem; white-space: nowrap; max-width: 11rem; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1024px) {
  .nav-wrap { top: 1.25rem; }
  .nav { height: 3.5rem; gap: .5rem; padding: 0 .5rem; }
  .nav-logo { font-size: 1.25rem; padding: 0 .75rem 0 1rem; }
  .nav .btn-sm { height: 2.5rem; }
}
@media (max-width: 420px) {
  .nav-logo { max-width: 6.5rem; padding: 0 .4rem 0 .6rem; font-size: .95rem; }
  .nav .btn-sm { padding: 0 .75rem; font-size: .8rem; }
}

/* Hero */
.hero { padding: 6rem 1.25rem 2rem; text-align: center; }
@media (min-width: 1024px) { .hero { padding-top: 9rem; } }
.pill { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: 0 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--muted); }
.live-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(29,164,98,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29,164,98,.5); } 70% { box-shadow: 0 0 0 8px rgba(29,164,98,0); } 100% { box-shadow: 0 0 0 0 rgba(29,164,98,0); } }
.hero-title { margin: 1.25rem auto 0; max-width: 14ch; font-size: 2.75rem; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-sub { margin: 1.25rem auto 0; max-width: 44ch; color: var(--muted); font-size: 1rem; }
@media (min-width: 1024px) { .hero-sub { font-size: 1.125rem; } }
.hero-cta { margin-top: 2rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 3rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.section-narrow { max-width: 48rem; }
.section-wide { max-width: 64rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.h2 { font-size: 2.4rem; }
@media (min-width: 640px) { .h2 { font-size: 3rem; } }
.h2.left { text-align: left; margin-bottom: 1.5rem; }
.lead { margin: 1.25rem auto 0; max-width: 46ch; color: var(--muted); font-size: 1rem; }
@media (min-width: 1024px) { .lead { font-size: 1.125rem; } }
.eyebrow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }
.eyebrow.light { color: rgba(255,255,255,.7); }

/* Niche overview cards */
.card-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); padding: 1.5rem; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .card { padding: 2rem; } }
.icon-bubble { display: inline-flex; width: 2.5rem; height: 2.5rem; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in oklab, var(--c) 10%, transparent); color: var(--c); }
.card h3 { margin-top: 1.25rem; font-size: 1.5rem; font-weight: 600; color: var(--c); }
.card .card-title { margin-top: .25rem; font-size: 1.5rem; font-weight: 600; line-height: 1.375; max-width: 22ch; }
.checks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .625rem; }
.checks li { display: grid; grid-template-columns: 1.25rem 1fr; column-gap: .75rem; font-size: 15px; line-height: 1.375; }
.checks svg { margin-top: 3px; color: var(--c); }
.card-foot { margin-top: auto; padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.chip-link { display: inline-flex; align-items: center; height: 2rem; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: .8rem; font-weight: 600; transition: background .2s; }
.chip-link:hover { background: var(--soft); }
.card-views { font-size: .875rem; color: var(--muted); }
.card-views b { color: var(--ink); }

/* Niche video sections */
.niche { padding: 3.5rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.niche-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.niche-label { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 600; color: var(--c); }
.niche-label .icon-bubble { width: 2.25rem; height: 2.25rem; }
.niche-title { margin-top: .75rem; font-size: 2.4rem; max-width: 16ch; }
@media (min-width: 640px) { .niche-title { font-size: 3.25rem; } }
.niche-total { text-align: right; }
.niche-total .big { font-size: 2.25rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--c); }
.niche-total .small { margin-top: .35rem; }
@media (max-width: 639px) { .niche-total { text-align: left; } }

.video-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }

.video-card { position: relative; display: block; width: 100%; padding: 0; border: 0; text-align: left; cursor: pointer; aspect-ratio: 9 / 16; border-radius: 1.25rem; overflow: hidden; background: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.12); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.video-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.video-card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.video-card:hover img { transform: scale(1.04); }
.video-card .fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); background: radial-gradient(120% 80% at 30% 10%, color-mix(in oklab, var(--c) 85%, white), var(--c) 45%, color-mix(in oklab, var(--c) 55%, black)); }
.video-card .fallback svg { width: 3rem; height: 3rem; opacity: .9; }
.video-card .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.25) 40%, transparent 60%), linear-gradient(to bottom, rgba(0,0,0,.35), transparent 25%); }
.views-badge { position: absolute; top: .65rem; left: .65rem; display: inline-flex; align-items: center; gap: .35rem; height: 1.85rem; padding: 0 .7rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font-size: .8rem; font-weight: 700; backdrop-filter: blur(8px); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.views-badge svg { color: var(--c); }
.video-info { position: absolute; inset: auto 0 0; padding: .9rem; color: #fff; }
.video-info .t { font-weight: 600; font-size: .9rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info .s { margin-top: .35rem; font-size: .75rem; color: rgba(255,255,255,.75); display: flex; gap: .75rem; }
.play { position: absolute; top: 50%; left: 50%; width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 0 -1.625rem; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: scale(.9); transition: opacity .3s, transform .3s var(--ease); }
.video-card:hover .play { opacity: 1; transform: scale(1); }

.video-empty { aspect-ratio: 9 / 16; border-radius: 1.25rem; border: 1.5px dashed color-mix(in oklab, var(--c) 40%, var(--line)); background: color-mix(in oklab, var(--c) 5%, var(--card)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; padding: 1rem; color: var(--muted); font-size: .85rem; }
.video-empty .icon-bubble { margin-bottom: .25rem; }
.video-empty b { color: var(--ink); }
.video-empty code { font-size: .75rem; background: var(--soft); padding: .1rem .35rem; border-radius: .35rem; }

/* Brands */
.brands { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.brands span { display: inline-flex; align-items: center; height: 2.5rem; padding: 0 1.1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .95rem; }

/* Note card */
.note { position: relative; border-radius: var(--radius-card); background: var(--card); border: 1px solid var(--line); padding: 1.5rem; }
@media (min-width: 1024px) { .note { padding: 2.5rem 19rem 2.5rem 2.5rem; } }
.note-head { display: flex; align-items: center; gap: 1rem; min-height: 5rem; padding-right: 7.25rem; }
@media (min-width: 1024px) { .note-head { padding-right: 0; } }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; flex: none; overflow: hidden; background: linear-gradient(135deg, var(--pet), var(--lifestyle) 55%, var(--tech)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.note-body { margin-top: 1.5rem; display: grid; gap: 1rem; font-size: 17px; line-height: 1.625; color: color-mix(in oklab, var(--ink) 90%, transparent); }
.note-sign { margin-top: 1.5rem; }
.polaroids { pointer-events: none; position: absolute; top: 1rem; right: .75rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; width: 7rem; height: 5.75rem; margin: 0; }
.polaroid { position: relative; width: 100%; border-radius: .65rem; background: #fff; padding: .2rem; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.polaroid .ph { display: block; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: .45rem; }
.polaroid .ph.gradient { background: linear-gradient(160deg, var(--c1), var(--c2)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9); }
.polaroid.p1 { transform: rotate(-7deg) translateY(.15rem); }
.polaroid.p2 { transform: rotate(2deg) translateY(-.15rem); }
@media (min-width: 1024px) {
  .polaroids { position: absolute; right: -1.5rem; top: -2rem; display: block; width: 17rem; height: 15rem; margin: 0; }
  .polaroid { padding: .5rem .5rem 2rem; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
  .polaroid.p1 { position: absolute; right: 8rem; top: 2rem; width: 9rem; transform: rotate(-7deg); }
  .polaroid.p2 { position: absolute; right: 4rem; top: .5rem; width: 9rem; transform: rotate(3deg); }
}

/* FAQ */
.faq { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq details + details { border-top: 1px solid var(--line); }
.faq details { padding: 1rem 0; }
.faq summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--muted); transition: transform .2s; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { margin-top: .5rem; color: var(--muted); font-size: .875rem; max-width: 60ch; }

/* Contact banner */
.banner { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--ink); color: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.banner-glow { position: absolute; inset: 0; background:
  radial-gradient(40% 60% at 85% 20%, color-mix(in oklab, var(--primary) 55%, transparent), transparent 70%),
  radial-gradient(35% 55% at 70% 95%, color-mix(in oklab, var(--lifestyle) 40%, transparent), transparent 70%),
  radial-gradient(30% 50% at 100% 70%, color-mix(in oklab, var(--tech) 40%, transparent), transparent 70%); filter: blur(10px); }
.banner-inner { position: relative; padding: 2.5rem 1.5rem; }
@media (min-width: 1024px) { .banner-inner { padding: 5rem 2.5rem; } }
.banner-title { margin-top: .5rem; font-size: 2rem; line-height: 1; max-width: 16ch; }
@media (min-width: 1024px) { .banner-title { font-size: 3rem; } }
.banner-sub { margin-top: .9rem; color: rgba(255,255,255,.75); max-width: 44ch; }
.banner-cta { margin-top: 1.75rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.banner-cta .btn-lg { height: 3rem; padding: 0 1.4rem; font-size: 1rem; }

.footer { padding: 3rem 1.25rem 4rem; text-align: center; font-size: .9rem; }
.footer p + p { margin-top: .35rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.6); backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal-panel { position: relative; width: min(380px, 100%); animation: pop .35s var(--ease); }
.modal-frame { aspect-ratio: 9 / 16; max-height: calc(100vh - 8rem); margin: 0 auto; border-radius: 1.25rem; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-meta { margin-top: .75rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; color: #fff; font-weight: 600; font-size: .9rem; }
.modal-close { position: absolute; top: -.75rem; right: -.75rem; z-index: 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }

/* Reveal animations (like the original's data-reveal / data-hero / data-split) */
.js [data-reveal], .js [data-hero] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in, .js [data-hero].in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-split].in .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-hero], .js [data-split] .w { opacity: 1 !important; transform: none !important; transition: none !important; }
}
