/* =========================================================================
   THE CREATOR LIST — Design System v2
   Inspiration: Outerbloc (giant wordmark hero, editorial serif) + Merrell
   (clean editorial e-commerce, big imagery, pill tiles, warm tones).
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

:root {
  --paper:        #FFFFFF;   /* site background — white */
  --paper-2:      #ECEAE4;
  --paper-3:      #E2DFD7;
  --white:        #FFFFFF;
  --ink:          #111110;
  --ink-2:        #45433D;
  --ink-3:        #807C72;
  --hair:         #E2DFD7;
  --hair-2:       #D3CFC5;
  --accent:       #CE1126;   /* signature red */
  --accent-2:     #A50E1F;   /* deeper red (hover) */
  --accent-soft:  #FBE4E6;   /* light red tint */
  --gold:         #8A6A3B;
  --gold-soft:    #F1E8D8;
  --shadow:       0 1px 2px rgba(17,17,16,.04), 0 10px 30px rgba(17,17,16,.07);
  --shadow-lg:    0 4px 10px rgba(17,17,16,.06), 0 30px 70px rgba(17,17,16,.12);

  --display: 'Poppins', sans-serif;          /* giant wordmark */
  --serif:   'Newsreader', Georgia, serif;   /* editorial */
  --sans:    'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;
  --maxw: 1280px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--accent-soft); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }
section { padding: clamp(74px, 9.5vw, 156px) 0; }
.center { text-align: center; }
.divider { height: 1px; background: var(--hair); border: 0; }
.bg-white { background: var(--white); }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--paper); }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -.045em; line-height: .82; color: var(--ink); }
h1, .h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px,5.2vw,66px); line-height: 1.03; letter-spacing: -.035em; }
h2, .h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px,4.2vw,52px); line-height: 1.05; letter-spacing: -.03em; }
h3, .h3 { font-family: var(--display); font-weight: 600; font-size: clamp(21px,2.4vw,28px); line-height: 1.15; letter-spacing: -.02em; }
.serif { font-family: var(--serif); font-weight: 400; }
.serif-hero { font-family: var(--display); font-weight: 600; font-size: clamp(32px,4.8vw,58px); line-height: 1.06; letter-spacing: -.025em; }
.serif-it { font-family: var(--serif); font-style: italic; }
.lede { font-size: clamp(18px,1.6vw,22px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 13.5px; }
.maxch { max-width: 58ch; }
.mt-s{margin-top:10px}.mt-m{margin-top:20px}.mt-l{margin-top:36px}.mt-xl{margin-top:60px}
.stack-sm>*+*{margin-top:10px}.stack>*+*{margin-top:18px}.stack-lg>*+*{margin-top:30px}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; padding: 13px 24px; border-radius: var(--r-pill); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(.96); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--hair-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-1px); }
.btn-soft { background: var(--paper-2); color: var(--ink); }
.btn-soft:hover { background: var(--paper-3); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 17px; font-size: 13.5px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; transition: gap .2s; }
.link-arrow:hover { gap: 11px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid var(--hair); }
.nav .wrap { max-width: none; padding-left: clamp(20px, 3vw, 52px); padding-right: clamp(20px, 3vw, 52px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; letter-spacing: -.04em; font-size: 20px; white-space: nowrap; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 17px; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }
.avatar-btn { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; border: 1.5px solid var(--hair-2); background: var(--paper-3); }

/* ---------- Hamburger + full-screen mobile menu ---------- */
.nav-toggle.hamburger { background: none; border: 0; padding: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hb { position: relative; width: 26px; height: 16px; display: block; }
.hb i { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .32s var(--ease), opacity .2s var(--ease), top .32s var(--ease); }
.hb i:nth-child(1) { top: 0; }
.hb i:nth-child(2) { top: 7px; }
.hb i:nth-child(3) { top: 14px; }
.nav-toggle.is-open .hb i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle.is-open .hb i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hb i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .38s var(--ease), visibility .38s; display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mm-inner { box-sizing: border-box; width: 100%; padding: 88px clamp(20px, 5.5vw, 44px) 44px; display: flex; flex-direction: column; min-height: 100%; justify-content: center; }
.mm-links { display: flex; flex-direction: column; gap: clamp(18px, 4.5vh, 40px); }
.mm-links a { display: block; max-width: 100%; overflow-wrap: break-word; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; font-size: clamp(32px, 14.5vw, 60px); color: var(--ink); opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mobile-menu.open .mm-links a { opacity: 1; transform: none; }
.mobile-menu.open .mm-links a:nth-child(1) { transition-delay: .1s; }
.mobile-menu.open .mm-links a:nth-child(2) { transition-delay: .17s; }
.mobile-menu.open .mm-links a:nth-child(3) { transition-delay: .24s; }
.mobile-menu.open .mm-links a:nth-child(4) { transition-delay: .31s; }
.mm-cta { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(40px, 8vh, 72px); }
.mm-cta .btn { width: 100%; justify-content: center; }
.mm-cta a:not(.btn) { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.mm-cta .avatar-btn { width: 48px; height: 48px; }
/* Credits menu (opened by "created by") — same look, own top bar with logo + X */
.credits-menu { z-index: 300; }
.mm-topbar { position: absolute; top: 0; left: 0; right: 0; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--hair); }
.mm-close { background: none; border: 0; font-size: 24px; line-height: 1; color: var(--ink); cursor: pointer; padding: 8px; }
.credits-menu .mm-links { align-items: center; text-align: center; }
.credits-menu .mm-links a { text-transform: none; text-align: center; font-size: clamp(50px, 14vw, 112px); }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- HERO (Outerbloc style) ---------- */
.hero { padding: clamp(20px,4vw,40px) 0 0; overflow: hidden; }
.hero-wordmark { font-family: var(--display); font-weight: 800; letter-spacing: -.05em; line-height: .82; font-size: clamp(36px, 12.2vw, 252px); white-space: nowrap; display: flex; justify-content: center; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: start; }
.hero-sub { display: flex; align-items: center; gap: 10px; }
.play-dot { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink-3); display: grid; place-items: center; }
.founder-card { background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.founder-card .av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--paper-3); }
.hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow); }

/* ---------- Gallery headline hero (SVG text = never overflows) ---------- */
.hero-gallery { overflow: hidden; padding: clamp(16px, 3vw, 36px) 0 0; }
.hg-title { margin: 0; width: 100%; }
.hg-svg { display: block; width: min(92vw, 1180px); height: auto; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hero-intro { padding: clamp(20px, 3vw, 40px) 0 clamp(18px, 3vw, 36px); }
.hg-sub { text-align: center; margin: 0 auto; }
.hg-cta { text-align: center; margin-top: clamp(20px, 2.6vw, 36px); }
/* Hero photo: full-bleed on mobile, smaller & centered on web */
@media (min-width: 821px) {
  .hero-photo { width: min(1300px, 90vw) !important; left: 0 !important; margin-left: auto !important; margin-right: auto !important; }
}

/* ---------- Tiles row (Merrell category pills) ---------- */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 44px 4px 48px; }
.tiles::-webkit-scrollbar { display: none; }
.tile { position: relative; aspect-ratio: 1/1.22; min-width: 336px; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); display: block; transition: transform .32s var(--ease), box-shadow .32s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover { transform: scale(1.18); z-index: 3; box-shadow: 0 30px 64px rgba(17,17,16,.26); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,16,0) 40%, rgba(17,17,16,.62)); }
.tile span { position: absolute; left: 22px; bottom: 20px; color: #fff; font-weight: 600; font-size: 22px; z-index: 2; letter-spacing: -.01em; }
/* mobile tiles */
@media (max-width: 720px){ .tiles{ gap:12px; } .tile{ min-width:208px; aspect-ratio:1/1.15; } .tile span{ font-size:16px; left:15px; bottom:13px; } }

/* ---------- Big editorial image band (Merrell hero) ---------- */
.band { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(360px, 48vw, 560px); display: flex; background: var(--paper-3); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-inner { position: relative; z-index: 2; padding: clamp(28px,4vw,52px); display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.band-word { font-family: var(--display); font-weight: 600; color: #fff; font-size: clamp(44px,7vw,104px); line-height: .92; letter-spacing: -.04em; }
.band-word .r { display:block; text-align: right; }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Browse-by (Merrell "Shop by Activity") ---------- */
.browseby { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: stretch; }
.bb-head { font-family: var(--display); font-weight: 600; font-size: clamp(40px,5.2vw,76px); line-height: .92; letter-spacing: -.035em; }
.bb-nav { list-style: none; margin-top: 28px; display: grid; gap: 2px; }
.bb-nav li { font-size: 17px; color: var(--ink-3); padding: 9px 0; border-left: 2px solid transparent; padding-left: 14px; cursor: pointer; transition: color .2s, border-color .2s; }
.bb-nav li.active, .bb-nav li:hover { color: var(--ink); border-color: var(--accent); }
.bb-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.bb-grid .img { border-radius: var(--r-md); overflow: hidden; background: var(--paper-3); min-height: 280px; }
.bb-grid .img img { width:100%;height:100%;object-fit:cover; }
.bb-card { display: flex; flex-direction: column; justify-content: flex-end; }

/* ---------- Cards / creators ---------- */
.card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--hair-2); }
.creator-card { display: flex; flex-direction: column; }
.creator-card .cc-media { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--paper-3); }
.creator-card .cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.creator-card:hover .cc-media img { transform: scale(1.05); }
.cc-flag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.cc-body { padding: 18px 20px 22px; }
.cc-name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; display: flex; align-items: center; gap: 7px; }
.cc-meta { font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cc-tags span { font-size: 12px; color: var(--ink-2); background: var(--paper-2); padding: 5px 11px; border-radius: var(--r-pill); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ---------- Badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); }
.badge svg { width: 13px; height: 13px; }
.badge-verified { background: var(--ink); color: var(--paper); }
.badge-quiet { background: var(--paper-2); color: var(--ink-2); }
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-gold { background: var(--gold-soft); color: var(--gold); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); padding: 7px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--hair); }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }
.seal { width: 16px; height: 16px; flex: none; }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 16px 44px; align-items: center; justify-content: center; max-width: 820px; margin: 0 auto; }
.logos span { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.5vw, 34px); color: var(--ink-3); opacity: .78; letter-spacing: -.025em; }

/* ---------- Testimonial ---------- */
.quote { font-family: var(--serif); font-size: clamp(26px,3.4vw,42px); line-height: 1.18; letter-spacing: -.015em; }
.pull { font-family: var(--sans); font-weight: 800; font-size: clamp(26px,3.6vw,44px); line-height: 1.08; letter-spacing: -.03em; }

/* ---------- Big-type process rows (editorial) ---------- */
.proc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,4vw,64px); align-items: end; padding: clamp(30px,4.5vw,60px) 0; border-top: 1px solid var(--hair-2); transition: padding-left .4s var(--ease); }
.proc-row:last-child { border-bottom: 1px solid var(--hair-2); }
.proc-row:hover { padding-left: 8px; }
.proc-word { font-family: var(--display); font-weight: 600; letter-spacing: -.045em; line-height: .88; font-size: clamp(46px,8.4vw,108px); }
.proc-desc { font-size: clamp(17px,1.5vw,22px); line-height: 1.4; color: var(--ink-2); padding-bottom: .5em; max-width: 30ch; }
@media (max-width: 720px) { .proc-row { grid-template-columns: 1fr; gap: 12px; align-items: start; } .proc-desc { padding-bottom: 0; } }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid var(--hair); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 22px; color: var(--accent); }
.step:first-child { border-top: 0; }

/* ---------- Accordion ---------- */
.acc-item { border-bottom: 1px solid var(--hair); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 28px 0; font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -.02em; }
.acc-q .pm { flex: none; width: 22px; height: 22px; position: relative; }
.acc-q .pm::before,.acc-q .pm::after { content:""; position:absolute; background: var(--ink-3); transition: opacity .3s; }
.acc-q .pm::before { top:50%; left:2px; right:2px; height:1.5px; transform:translateY(-50%); }
.acc-q .pm::after { left:50%; top:2px; bottom:2px; width:1.5px; transform:translateX(-50%); }
.acc-item.open .pm::after { opacity: 0; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.acc-a-inner { padding: 0 0 28px; color: var(--ink-2); max-width: 62ch; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column; transition: border-color .2s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.plan:hover { border-color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan.feature { border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.plan.plan-lifetime { border: 2px solid var(--accent); }
.plan.plan-lifetime:hover { border-color: var(--accent); }
.plan.feature::after { content:"Most popular"; position:absolute; top:-11px; left:50%; transform:translateX(-50%); background:var(--accent); color:#fff; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; padding:5px 14px; border-radius:var(--r-pill); }
.plan .price { font-family: var(--sans); font-weight: 800; font-size: 44px; letter-spacing: -.035em; margin: 12px 0 2px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin: 22px 0 26px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li svg { flex: none; width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }

/* ---------- Forms / dashboard ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.input, .textarea, select.input { width: 100%; font-size: 15px; color: var(--ink); background: var(--white); border: 1.5px solid var(--hair-2); border-radius: var(--r-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus, select.input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.uploader { border: 1.5px dashed var(--hair-2); border-radius: var(--r-md); padding: 34px; text-align: center; color: var(--ink-3); background: var(--white); cursor: pointer; transition: border-color .2s, background .2s; }
.uploader:hover { border-color: var(--accent); background: var(--accent-soft); }
.completeness { background: var(--white); border:1px solid var(--hair); border-radius: var(--r-md); padding: 20px 22px; }
.bar { height: 7px; border-radius: 999px; background: var(--paper-3); overflow: hidden; margin: 12px 0; }
.bar i { display:block; height:100%; background: var(--accent); border-radius:999px; transition: width .5s var(--ease); }
.toggle-pub { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--ink-3); }

/* Auth card */
.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 440px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: clamp(28px,4vw,40px); box-shadow: var(--shadow); }

/* Dashboard layout */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 68px); }
.dash-side { border-right: 1px solid var(--hair); padding: 28px 18px; }
.dash-nav { list-style: none; display: grid; gap: 2px; }
.dash-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.dash-nav a.active, .dash-nav a:hover { background: var(--paper-2); color: var(--ink); }
.dash-main { padding: 40px clamp(24px,4vw,56px); }

/* Profile */
.profile-hero { position: relative; height: clamp(300px,42vw,500px); background: var(--paper-3); overflow: hidden; border-radius: var(--r-lg); }
.profile-hero img { width: 100%; height: 100%; object-fit: cover; }
.profile-head { margin-top: -82px; position: relative; z-index: 2; }
.avatar-lg { width: 128px; height: 128px; border-radius: 50%; border: 5px solid var(--paper); object-fit: cover; box-shadow: var(--shadow); background: var(--paper-3); }
.profile-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.profile-side { position: sticky; top: 92px; }
.spec { padding: 28px 0; border-top: 1px solid var(--hair); }
.spec:first-child { border-top: 0; padding-top: 0; }
.spec h3 { margin-bottom: 16px; }
.spec-rows { display: grid; gap: 14px; }
.spec-row { display: grid; grid-template-columns: 168px 1fr; gap: 18px; font-size: 15px; }
.spec-row dt { color: var(--ink-3); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.portfolio-grid figure { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 1/1; background: var(--paper-3); cursor: pointer; }
.portfolio-grid figure.wide { grid-column: span 2; aspect-ratio: 2/1; }
.portfolio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.portfolio-grid figure:hover img { transform: scale(1.05); }
.review { padding: 24px; background: var(--paper-2); border-radius: var(--r-md); }
.review p { font-family: var(--serif); font-size: 18px; line-height: 1.45; }
.review .by { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }
.timeline { display: grid; }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--hair); }
.tl-item .yr { color: var(--ink-3); font-size: 14px; }
.tl-item .role { font-weight: 600; }
.contact-card { background: var(--white); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.stat-row { display: flex; border: 1px solid var(--hair); border-radius: var(--r-md); overflow: hidden; }
.stat-row .stat { flex: 1; padding: 16px; text-align: center; border-right: 1px solid var(--hair); }
.stat-row .stat:last-child { border-right: 0; }
.stat .n { font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.stat .l { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }

/* Directory */
.dir-layout { display: grid; grid-template-columns: 256px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 88px; }
.filters-toggle { display: none; }
.filter-group { padding: 20px 0; border-top: 1px solid var(--hair); }
.filter-group:first-child { border-top: 0; padding-top: 0; }
.filter-group h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.search-bar { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1.5px solid var(--hair-2); border-radius: var(--r-pill); padding: 13px 20px; }
.search-bar input { border: 0; outline: 0; font-size: 15px; width: 100%; background: transparent; }
.sort-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.sort-bar select { font-size: 14px; border: 1.5px solid var(--hair-2); border-radius: var(--r-pill); padding: 8px 16px; background: var(--white); }

/* States */
.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--hair-2); border-radius: var(--r-lg); background: var(--white); }
.skeleton { background: linear-gradient(90deg, var(--paper-2) 25%, var(--paper-3) 37%, var(--paper-2) 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: var(--r-md); }
@keyframes sk { 0%{background-position:100% 0} 100%{background-position:-100% 0} }
.notice { display:flex; gap:12px; padding:16px 18px; border-radius: var(--r-md); font-size:14px; }
.notice-info { background: var(--accent-soft); color: #8E1420; }
.notice-warn { background: #FBF3E6; color: #8A6A2E; border: 1px solid #EBDCBE; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: 13px 22px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 999; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Footer */
.footer { background: var(--ink); color: #B9B5AB; padding: 84px 0 44px; }
.footer a { color: #B9B5AB; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #807C72; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { font-size: 14.5px; }
/* Big footer wordmark — SVG scales to full width, never clipped */
.footer-word { display: block; width: 100%; height: auto; margin: clamp(40px,6vw,80px) 0 0; overflow: visible; user-select: none; }
.footer-word text { font-family: var(--display); font-weight: 600; }
.footer-bottom { margin-top: 40px; padding-top: 28px; border-top: 1px solid #2A2924; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: #807C72; }

/* Reveal */
/* Apple-style reveal: subtle, smooth easeOutExpo */
.reveal, .reveal.in { opacity: 1; transform: none; transition: none; }

.hr-label { display:flex; align-items:center; gap:16px; color:var(--ink-3); font-size:12px; letter-spacing:.14em; text-transform:uppercase; }
.hr-label::before,.hr-label::after{ content:""; flex:1; height:1px; background:var(--hair); }
[hidden] { display: none !important; }

/* 3D breakout phone showcase */
@keyframes ph-spin{0%,100%{transform:scale(1.22) rotateY(-20deg) rotateX(6deg)}50%{transform:scale(1.22) rotateY(-9deg) rotateX(3deg)}}
@keyframes ph-feed{0%{transform:translateY(0)}100%{transform:translateY(-50%)}}
@keyframes ph-pop{0%,100%{transform:var(--t) translateY(0)}50%{transform:var(--t) translateY(-13px)}}
@keyframes ph-spin-m{0%,100%{transform:scale(.65) rotateY(-16deg) rotateX(5deg)}50%{transform:scale(.65) rotateY(-7deg) rotateX(2deg)}}
.testimonial-split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,4vw,48px);align-items:center}
.split-images{width:100%;display:grid;grid-template-columns:1fr 1fr;aspect-ratio:2/1;max-height:82vh;overflow:hidden;background:#111110}
.split-images img{width:100%;height:100%;object-fit:contain;display:block}
.brands-photos{display:none}
.phone-showcase{display:flex;justify-content:flex-end;align-items:center;perspective:1600px;min-height:440px;overflow:visible;position:relative;z-index:3}
.phone-scene{position:relative;width:250px;height:510px;transform-style:preserve-3d;animation:ph-spin 11s ease-in-out infinite}
.phone-body{position:relative;width:250px;height:510px;background:#0e0e0d;border-radius:44px;padding:10px;box-shadow:0 40px 80px rgba(17,17,16,.34)}
.phone-notch{position:absolute;top:20px;left:50%;transform:translateX(-50%);width:86px;height:24px;background:#0e0e0d;border-radius:16px;z-index:4}
.phone-glass{width:100%;height:100%;background:#fff;border-radius:34px;overflow:hidden;position:relative}
.phone-head{position:absolute;top:0;left:0;right:0;z-index:3;padding:50px 16px 12px;font-family:var(--display);font-weight:700;font-size:13px;color:var(--ink);background:linear-gradient(#fff,rgba(255,255,255,0))}
.phone-scroll{height:100%;overflow:hidden;padding:78px 12px 12px}
.phone-feed{animation:ph-feed 20s linear infinite}
.phone-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:9px}
.phone-grid img{width:100%;height:112px;object-fit:cover;border-radius:12px;display:block}
.phone-pop{position:absolute;object-fit:cover;border-radius:14px;box-shadow:0 26px 60px rgba(17,17,16,.28);animation:ph-pop 6s ease-in-out infinite;z-index:5}
@media (prefers-reduced-motion:reduce){.phone-scene,.phone-feed,.phone-pop{animation:none}}
@media (max-width:720px){.testimonial-split{grid-template-columns:1fr}.split-images{grid-template-columns:1fr;aspect-ratio:auto;max-height:none}.split-images img{height:auto}.phone-showcase{min-height:320px;justify-content:center}.phone-scene{animation:ph-spin-m 11s ease-in-out infinite}}

/* Responsive */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .profile-layout { grid-template-columns: 1fr; gap: 36px; }
  .profile-side { position: static; }
  .dir-layout { grid-template-columns: 1fr; }
  .filters { position: static; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .42s var(--ease), opacity .3s var(--ease), margin .3s var(--ease); }
  .filters.open { max-height: 1600px; opacity: 1; margin: 8px 0 6px; }
  .filters-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 22px; border: 1.5px solid var(--hair-2); border-radius: var(--r-pill); background: var(--white); font-family: var(--display); font-weight: 600; font-size: 15.5px; color: var(--ink); cursor: pointer; }
  .filters-toggle .ft-chev { transition: transform .32s var(--ease); color: var(--ink-3); }
  .filters-toggle[aria-expanded="true"] .ft-chev { transform: rotate(180deg); }
  .browseby { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { height: 60px; }
  .brand { font-size: 18px; }
  .serif-hero { white-space: normal !important; }
  .hero-wordmark { font-size: clamp(30px, 12.5vw, 120px); }
  .hero { padding-top: 14px; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 5 !important; min-height: 0 !important; }
  .hero-media img { object-position: center !important; }
  .logos { gap: 12px 26px; justify-content: center; max-width: 420px; }
  .logos span { font-size: 19px; }
  .grid-4,.grid-3,.grid-2,.price-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .bb-grid { grid-template-columns: 1fr; }
  .spec-row,.tl-item,.step { grid-template-columns: 1fr; gap: 6px; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

.creator-card.creator-pro { box-shadow: inset 0 0 0 2px var(--accent); }
.creator-card.creator-pro .cc-media { outline: 0; }

@media(max-width:720px){.upgrade-demos{grid-template-columns:1fr !important}}

/* ===== Merged from visual tab: black poster hero + hide-header-until-scroll + mobile overflow fix ===== */
html { overflow-x: clip; }
body { overflow-x: clip; width: 100%; max-width: 100%; }
.hero-poster-img { position: relative; width: 100vw; left: 50%; margin-left: -50vw; background: #0c0b0a; display: flex; align-items: center; justify-content: center; min-height: 100svh; padding: 10px 0; overflow: hidden; }
.hero-poster-img img { display: block; width: auto; max-width: 100%; height: auto; max-height: 92svh; }
.hero-poster-img .hp-mob { display: none; }
@media (max-width: 820px) {
  .hero-poster-img .hp-web { display: none; }
  .hero-poster-img .hp-mob { display: block; }
}
.nav { transition: transform .35s var(--ease); }
body.has-poster .nav { position: fixed; top: 0; left: 0; right: 0; }
.nav.nav-hidden { transform: translateY(-110%); }
