/* farhanbinfazil.in — site styles */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --ink: #141414;
  --ink-2: #3b3b3b;
  --muted: #6e6d69;
  --line: #e6e4df;
  --line-strong: #d3d0c9;
  --accent: #0e6b4d;
  --danger: #b42318;
  --radius: 12px;
  --wrap: 1160px;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: .92em; }
.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; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ── Buttons & links ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 8px;
  font: 500 15px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-danger { background: #fff; color: var(--danger); border-color: #f0c7c2; }
.btn-danger:hover { border-color: var(--danger); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: default; }
.text-link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { display: none; }
.menu-btn { display: none; }

/* ── Hero ── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 64px; align-items: center;
  padding-top: 56px; padding-bottom: 64px;
}
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.1; letter-spacing: -0.025em; max-width: 17ch; }
.lead { font-size: 19px; line-height: 1.6; margin-top: 24px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-photo { margin: 0; width: 100%; max-width: 430px; justify-self: end; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }

/* ── Stats ── */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 4px; padding: 26px 20px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { order: -1; margin: 0; font-size: 32px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat dt { font-size: 14px; color: var(--muted); line-height: 1.35; }
.seen-on { font-size: 14px; color: var(--muted); padding: 20px 0 0; }
.seen-on span { color: var(--ink); font-weight: 500; margin-right: 10px; }
.seen-on i { font-style: normal; margin: 0 6px; color: var(--line-strong); }

/* ── Sections ── */
.section { padding-top: 96px; padding-bottom: 8px; }
.split { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.section-label {
  font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  padding-top: 10px; border-top: 1px solid var(--ink); align-self: start;
}
.section-body { min-width: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.section-body > h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.2; max-width: 24ch; margin-bottom: 30px; }
.prose { max-width: 66ch; display: grid; gap: 18px; }
.prose-p { max-width: 56ch; margin-bottom: 26px; }
.small-head { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 48px 0 16px; font-family: var(--mono); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 44px; }
.about-grid .small-head { margin-top: 0; }
.facts { margin: 0; display: grid; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-size: 15.5px; }
.facts--tight > div { grid-template-columns: 100px 1fr; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 24px; display: grid; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #fff; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 4px; top: 22px; bottom: 2px; width: 1px; background: var(--line); }
.timeline li.is-now::before { background: var(--accent); border-color: var(--accent); }
.timeline strong { color: var(--ink); font-weight: 600; font-size: 15.5px; }
.timeline span { color: var(--muted); font-size: 14px; }

/* Ventures */
.venture { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.venture h3 { font-size: 20px; }
.venture p { font-size: 15.5px; }
.venture-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 10px; }
.venture-head .text-link { font-size: 14px; }
.venture--lead { padding: 32px; }
.venture--lead h3 { font-size: 24px; }
.venture--lead > p { max-width: 62ch; font-size: 16.5px; }
.venture-stats { display: flex; flex-wrap: wrap; gap: 12px 44px; margin: 26px 0 8px; }
.venture-stats div { display: flex; flex-direction: column; }
.venture-stats dd { margin: 0; font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.venture-stats dt { font-size: 14px; color: var(--muted); }
.programs { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 15px; }
.programs caption { text-align: left; font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-bottom: 8px; }
.programs th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line-strong); }
.programs td { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.programs td:last-child, .programs th:last-child { text-align: right; color: var(--muted); white-space: nowrap; }
.campus-head { font: 500 13px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 30px 0 12px; }
.campuses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.campuses li { display: grid; gap: 4px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-soft); font-size: 14.5px; }
.campuses strong { color: var(--ink); font-size: 16px; }
.campuses address { font-style: normal; color: var(--ink-2); line-height: 1.5; margin-bottom: 4px; }
.campuses a { color: var(--ink); text-decoration: none; }
.campuses a.text-link { color: var(--accent); text-decoration: underline; }
.venture-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.tags { margin-top: 14px; font-size: 13.5px !important; color: var(--muted); font-family: var(--mono); }

/* Services */
.services { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.services li { padding: 24px 28px 26px 0; border-bottom: 1px solid var(--line); }
.services li:nth-child(odd) { border-right: 1px solid var(--line); }
.services li:nth-child(even) { padding-left: 28px; padding-right: 0; }
.services h3 { font-size: 18px; margin-bottom: 6px; }
.services p { font-size: 15.5px; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.card > img, .card-logo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-soft); }
.card-logo { display: grid; place-items: center; background: #161616; padding: 32px; }
.card-logo img { max-height: 70%; width: auto; }
.card-body { padding: 20px 22px 24px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { font-size: 15px; }
.pos-top { object-position: 50% 18%; }

/* Media */
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) 190px; align-items: baseline; gap: 6px 24px;
  padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.channel:hover .channel-name { text-decoration: underline; text-underline-offset: 4px; }
.channel-name { color: var(--ink); font-weight: 600; font-size: 17px; }
.channel-desc { color: var(--muted); font-size: 15px; }
.channel-count { color: var(--ink); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; text-align: right; }
.channel-count small { font-weight: 400; color: var(--muted); font-size: 14px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 20px; }
.video { text-decoration: none; display: grid; gap: 8px; }
.video-thumb { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-meta { font-size: 13px; color: var(--muted); }
.video-title { color: var(--ink); font-weight: 500; font-size: 15.5px; line-height: 1.4; }
.video:hover .video-title { text-decoration: underline; text-underline-offset: 3px; }
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.press figure { margin: 0; }
.press img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.press figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.press figcaption strong { display: block; color: var(--ink); font-weight: 600; }

/* Sharables band */
.share-band { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.share-band h2 { font-size: clamp(27px, 3vw, 38px); line-height: 1.2; margin-bottom: 14px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--bg-soft); }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* Contact */
.contact-email {
  display: inline-block; font-size: clamp(26px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px;
  text-decoration-color: var(--line-strong); overflow-wrap: anywhere;
}
.contact-email:hover { text-decoration-color: var(--ink); }

/* Admin form fields (shared) */
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink); }
.field small { font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; padding: 11px 13px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 14.5px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--danger); }

/* Footer */
.site-footer { margin-top: 110px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 26px; padding-bottom: 32px; font-size: 14px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--ink); text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 1020px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .venture-row { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 0; }
  .section-label { border-top: 0; padding-top: 0; margin-bottom: 12px; }
  .section-body { border-top: 1px solid var(--ink); }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .header-cta { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; cursor: pointer;
  }
  .menu-btn-bars, .menu-btn-bars::before, .menu-btn-bars::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s; }
  .menu-btn-bars::before, .menu-btn-bars::after { content: ''; position: absolute; left: 0; }
  .menu-btn-bars::before { top: -6px; }
  .menu-btn-bars::after { top: 6px; }
  .menu-btn[aria-expanded="true"] .menu-btn-bars { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-btn-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; padding: 8px 24px 20px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-contact { display: block; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 32px; padding-bottom: 44px; }
  .hero-photo { order: -1; max-width: none; justify-self: stretch; }
  .hero-photo img { aspect-ratio: 16 / 11; object-position: 50% 28%; }
  .lead { font-size: 17.5px; }
  .about-grid, .share-band { grid-template-columns: 1fr; gap: 36px; }
  .campuses { grid-template-columns: 1fr; }
  .cards, .press, .gallery, .video-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .services li, .services li:nth-child(even) { padding: 20px 0; border-right: 0 !important; }
  .channel { grid-template-columns: 1fr auto; }
  .channel-desc { grid-column: 1; grid-row: 2; }
  .channel-count { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .section { padding-top: 72px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 14px 16px; }
  .stat, .stat:nth-child(4) { border-left: 1px solid var(--line); padding-left: 14px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat:last-child { grid-column: 1 / -1; }
  .stat dd { font-size: 26px; }
  .cards, .press, .gallery, .video-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .venture, .venture--lead { padding: 22px 20px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ══════════ Sharables ══════════ */

body.is-sharables { background: var(--bg-soft); }
.sh { max-width: 600px; margin: 0 auto; padding: 44px 18px 36px; }
.sh-profile { text-align: center; margin-bottom: 26px; }
.sh-avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; border: 1px solid var(--line); }
.sh-profile h1 { font-size: 24px; }
.sh-profile p { color: var(--muted); font-size: 15.5px; margin-top: 6px; line-height: 1.5; }
.sh-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: 14px; }
.sh-socials a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.sh-socials a:hover { text-decoration-color: var(--ink); }

.sh-search { position: relative; margin-bottom: 16px; }
.sh-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.sh-search input {
  width: 100%; height: 50px; padding: 0 16px 0 42px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: #fff; font: 400 16px var(--font); color: var(--ink);
}
.sh-search input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 20, 20, .08); }

.sh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sh-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none;
  transition: border-color .15s;
}
.sh-item:hover { border-color: var(--ink); }
.sh-thumb { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.sh-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sh-thumb--code { display: grid; place-items: center; font: 500 20px var(--mono); color: #f4f4f2; background: #0e0f10; }
.sh-item-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.sh-meta { font: 400 12.5px/1.4 var(--mono); color: var(--muted); }
.sh-meta b { color: var(--accent); font-weight: 500; }
.sh-item-title { color: var(--ink); font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.sh-item-desc { color: var(--muted); font-size: 14px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-chev { flex: 0 0 auto; color: var(--muted); }
.sh-empty { text-align: center; color: var(--muted); font-size: 15px; padding: 28px 0; }
.sh-list--home .sh-item { background: #fff; }

.sh-footer { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 40px; font-size: 13.5px; color: var(--muted); }
.sh-footer a { color: var(--ink); font-weight: 500; text-decoration: none; }

/* detail */
.sh-detail { padding-top: 22px; }
.sh-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; color: var(--ink); text-decoration: none; padding: 8px 0; margin-bottom: 12px; }
.sh-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.sh-article { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sh-article-body { padding: 18px 20px 22px; }
.sh-hero { margin: -6px -6px 20px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-soft); }
.sh-hero img { width: 100%; height: 100%; object-fit: cover; }
.sh-article h1 { font-size: 26px; line-height: 1.2; margin-top: 6px; }
.sh-lead { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.sh-links { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.sh-lead + .sh-links { margin-top: 18px; }
.sh-article-body > .sh-links:first-child { margin-top: 2px; }
.sh-link {
  display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 12px;
  border: 1px solid var(--line-strong); border-radius: 12px; text-decoration: none; background: #fff;
  transition: border-color .15s, background .15s;
}
a.sh-link:hover { border-color: var(--ink); background: var(--bg-soft); }
.sh-links li:first-child a.sh-link { background: var(--ink); border-color: var(--ink); }
.sh-links li:first-child a.sh-link .sh-link-label, .sh-links li:first-child a.sh-link .sh-link-arrow { color: #fff; }
.sh-links li:first-child a.sh-link .sh-link-host { color: #b9b7b1; }
.sh-links li:first-child a.sh-link .sh-link-ico { background: #2a2a2a; color: #fff; }
.sh-links li:first-child a.sh-link:hover { background: #000; }
.sh-link.is-empty { opacity: .55; border-style: dashed; }
.sh-link-ico { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); }
.sh-link-text { display: grid; gap: 1px; min-width: 0; flex: 1; }
.sh-link-label { color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.3; }
.sh-link-host { color: var(--muted); font-size: 13.5px; }
.sh-link-arrow { flex: 0 0 auto; color: var(--muted); }
.sh-link-note { font-size: 14px; color: var(--muted); padding: 6px 4px 0; }
.sh-watch { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 15px; color: var(--ink); }
.sh-actions { display: flex; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.sh-actions .btn { flex: 1; }
.sh-short { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.sh-more { margin-top: 34px; }
.sh-more h2 { font-size: 15px; font-weight: 600; margin: 0 0 12px 2px; }
.sh-all { display: block; text-align: center; margin-top: 14px; font-size: 14.5px; color: var(--ink); }
.sh-card { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.sh-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.sh-card div { flex: 1; min-width: 0; display: grid; }
.sh-card strong { color: var(--ink); font-size: 15.5px; }
.sh-card span { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.sh-preview-bar { background: #fff7e6; border-bottom: 1px solid #f1dcae; color: #6b4b06; font-size: 14px; text-align: center; padding: 10px 16px; }
.sh-404 { padding-top: 90px; text-align: center; }
.sh-404 h1 { font-size: 30px; margin: 8px 0 12px; }
.sh-404 p:last-child { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

.qr-dialog { border: 0; border-radius: 18px; padding: 28px; width: min(340px, calc(100vw - 32px)); text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); }
.qr-dialog::backdrop { background: rgba(20, 20, 20, .45); }
.qr-dialog h2 { font-size: 19px; }
.qr-dialog img { width: 240px; height: 240px; margin: 18px auto 10px; }
.qr-dialog p { font-size: 13.5px; color: var(--muted); }
.qr-dialog-actions { display: flex; gap: 10px; margin-top: 20px; }
.qr-dialog-actions > * { flex: 1; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; font-size: 14.5px; padding: 11px 18px; border-radius: 10px;
  transition: opacity .2s, transform .2s; pointer-events: none; z-index: 50;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── sharables: make the next tap obvious ── */
.sh-cover {
  position: relative; display: flex; align-items: flex-end; min-height: 168px; padding: 30px 22px 22px;
  background: #0e0f10; color: #f4f4f2; overflow: hidden; isolation: isolate;
}
.sh-cover::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 260px at 50% 0%, #1f2324 0%, transparent 70%); }
.sh-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.sh-cover.has-img::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 15, 16, .1) 0%, rgba(14, 15, 16, .92) 78%); }
.sh-cover.has-img { min-height: 210px; }
.sh-cover-body { position: relative; }
.sh-cover-eyebrow { font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9a9e9b; display: flex; align-items: center; gap: 8px; }
.sh-cover-eyebrow b { color: #4ade80; font-weight: 500; }
.sh-new { font: 600 10.5px var(--font); letter-spacing: .08em; color: #0e0f10; background: #4ade80; padding: 2px 7px; border-radius: 99px; }
.sh-cover-title { display: block; margin-top: 8px; font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: #f4f4f2; }

.sh-step { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 99px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--bg-soft); color: var(--ink); vertical-align: 1px; }
.sh-links li:first-child a.sh-link .sh-step { background: #2e2e2e; color: #fff; }

/* main button: bigger, with a slow shine that draws the eye */
.sh-links li:first-child a.sh-link { position: relative; overflow: hidden; min-height: 78px; }
.sh-links li:first-child a.sh-link .sh-link-label { font-size: 17px; }
.sh-links li:first-child a.sh-link::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -45%; width: 35%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .16), transparent); transform: skewX(-18deg);
  animation: sh-shine 3.4s ease-in-out 1s infinite; pointer-events: none;
}
@keyframes sh-shine { 0% { left: -45%; } 45%, 100% { left: 125%; } }

.sh-link, .sh-item { transition: border-color .15s, background .15s, transform .08s; }
a.sh-link:active, .sh-item:active { transform: scale(.985); }
.sh-link-arrow, .sh-chev, .sh-cta-arrow { transition: transform .18s ease-out, color .15s; }
a.sh-link:hover .sh-link-arrow { transform: translate(2px, -2px); }
.sh-item:hover .sh-chev { transform: translateX(3px); color: var(--ink); }


.sh-proof { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.sh-proof-dot { width: 8px; height: 8px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 3px rgba(34, 163, 90, .16); flex: 0 0 auto; }

.sh-follow-line { color: var(--ink) !important; font-weight: 500; font-size: 14px !important; margin-top: 4px !important; }

@media (prefers-reduced-motion: reduce) {
  .sh-links li:first-child a.sh-link::after { display: none; }
  a.sh-link:active, .sh-item:active { transform: none; }
}

/* ── sharables → portfolio ── */
.sh-topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line);
}
.sh-topbar-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; color: var(--ink); text-decoration: none; }
.sh-topbar-brand img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.sh-topbar-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none;
}
.sh-topbar-link:hover { background: #000; }
.sh-topbar-link span { transition: transform .18s ease-out; }
.sh-topbar-link:hover span { transform: translateX(2px); }

.sh-profile-link { display: block; text-decoration: none; color: inherit; }
.sh-profile-link:hover h1 { text-decoration: underline; text-underline-offset: 4px; }
.sh-profile-cta { margin-top: 14px; min-height: 42px; font-size: 14.5px; }
.sh-profile-cta:hover .sh-cta-arrow { transform: translateX(3px); }

.sh-portfolio { margin-top: 18px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.sh-portfolio-kicker { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.sh-portfolio-who { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.sh-portfolio-who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.sh-portfolio-who > span { display: grid; gap: 2px; }
.sh-portfolio-who strong { color: var(--ink); font-size: 17px; }
.sh-portfolio-who span span { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.sh-portfolio-who:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.sh-portfolio-actions { display: grid; gap: 8px; margin-top: 16px; }
.sh-portfolio-main { min-height: 50px; font-size: 16px; font-weight: 600; }
.sh-portfolio-main:hover .sh-cta-arrow { transform: translateX(3px); }
@media (min-width: 520px) { .sh-portfolio-actions { grid-template-columns: 1.4fr 1fr; } }
.sh-detail { padding-top: 14px; }
.sh { padding-top: 30px; }
