/* Dear Human: layout for the two hand-built pages, the homepage and
   /socialcurrent, plus the cart drawer. Sizes come from the confirmed preview
   (artifact Nvn5G8K94DkMLcsMdHdG3j), which measured today's dearhuman.design. */

/* ===================== homepage ===================== */
.home .home-body { display: flex; flex-direction: column; }
/* About: the original Framer spacing (160px above and below, 64px under the
   heading, a 600px text column, the link 32px under the text). */
.home .about { order: 1; padding: 160px 120px; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; justify-items: center; }
.home .about .txt { display: grid; gap: 32px; justify-items: center; }
.home .exp { order: 2; padding: 160px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; justify-items: center; scroll-margin-top: 40px; }
.home h2.big { font: 400 58px/1 "Bebas Neue", sans-serif; margin: 0; letter-spacing: .01em; }
.home .about p { margin: 0; max-width: 600px; font: 500 20px/28px Satoshi, Inter, sans-serif; color: #888; }
.home .about .cr { font-size: 18px; line-height: 25.2px; color: #888; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; border-bottom: 1px solid rgba(136,136,136,.5); padding: 5px 0 0; }
.home .about .cr svg { width: 16px; height: 16px; fill: #fff; }
.home .about .cr:hover { color: #fff; border-bottom-color: #fff; }
.home .xcards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; width: 100%; }

/* ===================== social current =====================
   Desktop spacing on an 8px scale: 160px between sections (as on the
   homepage), 16px from a heading to its intro line, 64px from the intro to
   what it introduces, and body copy at 1.5-1.6 line height. */
.sc .prod { padding: 160px 40px; display: grid; grid-template-columns: 440px 480px; gap: 120px; justify-content: center; align-items: center; scroll-margin-top: 0; }
.sc .prod .pin { position: relative; width: 400px; height: 400px; justify-self: center; }
.sc .prod .pin img { display: block; width: 100%; height: 100%; }
/* The bolt sits where it sat on the Framer page (measured: 135.5, 113.6 in a
   400px pin, 129 x 172.75) and turns with the scroll (sc.js). */
.sc .prod .pin .bolt { position: absolute; left: 33.875%; top: 28.41%; width: 32.25%; height: 43.19%; object-fit: contain; transform-origin: 50% 50%; will-change: transform; }

.buy { border: 1px solid rgba(10,10,10,.1); border-radius: 24px; padding: 40px; display: grid; gap: 20px; margin: 0; min-width: 0; }
.buy .badge { justify-self: start; font: 700 12px/1 Satoshi, Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #9A7428; background: #F6EFDF; border-radius: 999px; padding: 8px 12px; margin-bottom: -4px; }
.buy .row { display: flex; justify-content: space-between; align-items: baseline; }
.buy h2 { margin: 0; font: 400 44px/1 "Bebas Neue", sans-serif; letter-spacing: .02em; }
.buy .price { font: 700 22px Satoshi, Inter, sans-serif; font-variant-numeric: tabular-nums; }
.buy .d { margin: -4px 0 4px; font-size: 17px; color: #4d4d4d; line-height: 1.6; }
.buy .note { margin: -8px 0 4px; font-size: 15px; line-height: 1.55; color: #0a0a0a; background: #F7F7F5; border-radius: 12px; padding: 14px 16px; }
.buy fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.buy legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.opt { position: relative; display: grid; grid-template-columns: 18px 1fr auto; gap: 14px; align-items: center; border: 1px solid rgba(10,10,10,.12); border-radius: 14px; padding: 16px 18px; font-size: 16px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.opt:hover { border-color: rgba(10,10,10,.35); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .dot { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #999; box-sizing: border-box; transition: border .15s ease; }
.opt:has(input:checked) { border-color: #0a0a0a; }
.opt:has(input:checked) .dot { border: 5px solid #0a0a0a; }
.opt:has(input:focus-visible) { outline: 2px solid #C9A55C; outline-offset: 2px; }
.opt small { display: block; color: #8a8a8a; font-size: 13px; margin-top: 3px; line-height: 1.4; }
.opt b { font-weight: 700; font-variant-numeric: tabular-nums; }
.buy.is-soon .opt { cursor: default; }
.buy.is-soon .opt:hover { border-color: rgba(10,10,10,.12); }
.buy.is-soon .opt:has(input:checked) { border-color: rgba(10,10,10,.12); }
.buy.is-soon .opt .dot { display: none; }
.buy.is-soon .opt { grid-template-columns: 1fr auto; }
.buy .add { width: 100%; margin-top: 4px; padding-top: 17px; padding-bottom: 17px; }
.buy .ship { text-align: center; font-size: 12px; color: #8a8a8a; margin-top: -8px; }
.buy .err { margin: 0; font-size: 14px; color: #B42318; text-align: center; }
.buy .view { justify-self: center; appearance: none; border: 0; background: none; padding: 2px; font: 500 14px Inter, sans-serif; color: #0a0a0a; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

.sec { padding: 160px 40px; text-align: center; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.sec h2 { font: 700 54px/1.1 Inter, sans-serif; letter-spacing: -.02em; margin: 0; }
.sec > p { margin: 16px 0 0; max-width: 600px; font: 400 20px/1.5 Inter, sans-serif; color: #4d4d4d; }
.why { background: radial-gradient(ellipse at 50% 55%, #f3fdf0 0%, #ffffff 65%); }
.why + .faq { padding-top: 96px; }
.wcards { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 360px)); gap: 32px; justify-content: center; width: 100%; }
.wc { text-align: left; border-radius: 24px; padding: 32px; background: #fff; border: 1px solid; box-shadow: 0 10px 30px rgba(0,0,0,.06); display: grid; gap: 20px; align-content: start; min-height: 280px; }
.wc .hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wc h3 { margin: 0; font: 600 21px/1.3 Inter, sans-serif; letter-spacing: -.01em; }
.wc svg { width: 36px; height: 36px; flex: none; }
.wc p { margin: 0; font: 400 16px/1.6 Inter, sans-serif; color: #4d4d4d; }
.wc.r { border-color: #E31B0C; } .wc.r svg { fill: rgb(225, 29, 0); }
.wc.y { border-color: #F5CF00; } .wc.y svg { fill: rgb(247, 207, 2); }
.wc.g { border-color: #16A21A; } .wc.g svg { fill: rgb(0, 169, 10); }
/* Desktop fan-out (sc.js stacks the cards, tilted, then adds .fanned): the
   springy 0.9 s settle follows the template's "What I Do" cards, but the
   cards land straight and level (Cait, 2026-10-04). */
.wcards.fan-ready .wc { transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.wcards.fanned .wc { transform: none; }

.faq .list { margin-top: 64px; width: 720px; max-width: 100%; display: grid; gap: 16px; text-align: left; }
.faq details { background: #fafafa; border-radius: 16px; box-shadow: 0 6px 16px rgba(0,0,0,.05); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 600 17px/1.4 Inter, sans-serif; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 24px; color: #4d4d4d; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid #C9A55C; outline-offset: 2px; }
.faq .a { padding: 0 28px 24px; font: 400 16px/1.6 Inter, sans-serif; color: #4d4d4d; }
.faq .a p { margin: 0 0 12px; } .faq .a p:last-child { margin: 0; }

.sc .levu-sec { padding-top: 64px; padding-bottom: 0; }
.sc .levu-sec .dh-xc .txt { padding: 80px 48px 80px 80px; }
.sc .dh-nl.ln { margin-top: 120px; margin-bottom: 0; padding: 40px 40px 34px 48px; }
.sc .dh-foot { padding-top: 96px; }

/* ===================== cart drawer ===================== */
.dh-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(10,10,10,.45); opacity: 0; transition: opacity .3s ease; }
.dh-scrim.on { opacity: 1; }
.dh-cart { position: fixed; z-index: 71; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; color: #0a0a0a; display: grid; grid-template-rows: auto 1fr auto; box-shadow: -20px 0 60px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); font-family: Satoshi, Inter, sans-serif; }
.dh-cart.on { transform: none; }
.dh-cart.busy { cursor: progress; }
.dh-cart.busy .lines, .dh-cart.busy .foot { opacity: .6; pointer-events: none; }
.dh-cart .top { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid rgba(10,10,10,.08); }
.dh-cart .top h2 { margin: 0; font: 400 32px/1 "Bebas Neue", sans-serif; letter-spacing: .02em; }
.dh-cart .x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f1f1; font: 400 22px/1 Inter, sans-serif; cursor: pointer; color: #0a0a0a; }
.dh-cart .x:hover { background: #e6e6e6; }
.dh-cart .lines { overflow-y: auto; padding: 8px 24px; }
.dh-cart .empty { color: #8a8a8a; font-size: 15px; }
.dh-cart .line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(10,10,10,.08); }
.dh-cart .line .thumb { position: relative; display: block; width: 64px; height: 64px; }
.dh-cart .line .thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
/* same spot as the bolt on the big pin */
.dh-cart .line .thumb .bolt { position: absolute; left: 33.875%; top: 28.41%; width: 32.25%; height: 43.19%; }
.dh-cart .line b { display: block; font-size: 16px; }
.dh-cart .line .var { display: block; font-size: 14px; color: #6b6b6b; margin-top: 2px; }
.dh-cart .line .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.dh-cart .qty { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.dh-cart .qty button { width: 30px; height: 30px; border: 1px solid rgba(10,10,10,.15); border-radius: 50%; background: #fff; cursor: pointer; font: 500 16px/1 Inter, sans-serif; color: #0a0a0a; }
.dh-cart .qty span { min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.dh-cart .qty .rm { width: auto; height: auto; border: 0; margin-left: 12px; font-size: 13px; color: #6b6b6b; text-decoration: underline; text-underline-offset: 3px; }
.dh-cart .foot { padding: 20px 24px 24px; border-top: 1px solid rgba(10,10,10,.08); display: grid; gap: 10px; }
.dh-cart .sub { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; }
.dh-cart .note { margin: 0; font-size: 13px; color: #8a8a8a; }
.dh-cart .err { margin: 0; font-size: 14px; color: #B42318; }
.dh-cart [data-checkout] { width: 100%; }
@media (prefers-reduced-motion: reduce) { .dh-cart, .dh-scrim { transition: none; } }

/* ===================== tablet ===================== */
@media (max-width: 1100px) {
  .sc .prod { grid-template-columns: minmax(0, 360px) minmax(0, 440px); gap: 64px; padding: 128px 40px; }
  .sc .prod .pin { width: 100%; height: auto; aspect-ratio: 1; }
  .buy { padding: 32px; }
  .sec { padding: 128px 32px; }
  .wcards { gap: 20px; }
  .wc { padding: 24px; }
  .sc .levu-sec .dh-xc .txt { padding: 56px 32px 56px 48px; }
}

/* ===================== phone ===================== */
@media (max-width: 809px) {
  .home .about { order: 2; padding: 112px 20px 72px; gap: 40px; }
  .home .about .txt { gap: 24px; }
  .home .exp { order: 1; padding: 80px 0 0; gap: 28px; }
  .home h2.big { font-size: 40px; }
  .home .about p { font-size: 16px; line-height: 22.4px; }
  .home .about .cr { font-size: 14px; line-height: 19.6px; }
  .home .xcards { gap: 18px; }

  .sc .prod { grid-template-columns: minmax(0, 1fr); padding: 56px 16px 64px; gap: 32px; }
  /* The pin's middle line (half way down the image) sits exactly on the
     hero's bottom edge: pull it up by the section's 56px top padding plus
     half its 240px height, and paint it above the hero. */
  .sc .prod .pin { width: 240px; height: 240px; margin-top: -176px; z-index: 3; }
  .buy { padding: 22px 18px; gap: 14px; border-radius: 20px; }
  .buy h2 { font-size: 34px; }
  .buy .d { font-size: 14px; line-height: 1.55; margin: -2px 0 2px; }
  .buy .note { font-size: 13px; padding: 12px 14px; margin: -4px 0 2px; }
  .opt { font-size: 14px; padding: 13px 14px; gap: 12px; } .opt small { font-size: 11px; }
  .buy .ship { font-size: 10px; margin-top: -4px; }
  .sec { padding: 80px 16px; }
  .why + .faq { padding-top: 64px; }
  .sec h2 { font-size: 34px; }
  .sec > p { font-size: 15px; margin-top: 12px; }
  .faq .list { margin-top: 32px; gap: 12px; }
  .faq summary { font-size: 14px; padding: 16px; }
  .faq .a { font-size: 14px; padding: 0 16px 16px; }
  .sc .levu-sec .dh-xc .txt { padding: 22px 20px 26px; }
  .sc .dh-nl.ln { margin-top: 64px; padding: 22px 18px 16px; }
  .sc .dh-foot { padding-top: 48px; }

  /* Why? cards: today's phone animation. Each card sticks under the nav and
     the next one slides up over it, leaving the one below's title peeking. */
  .wcards { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 32px; align-items: start; padding-bottom: 40px; }
  .wc { position: sticky; min-height: 0; height: auto; padding: 22px 20px; gap: 12px; align-content: start; box-shadow: 0 -6px 20px rgba(0,0,0,.05), 0 10px 30px rgba(0,0,0,.06); }
  .wcards.fan-ready .wc, .wcards.fanned .wc { transform: none !important; transition: none; } /* desktop fan, if the window shrinks */
  .wc:nth-child(1) { top: 100px; }
  .wc:nth-child(2) { top: 128px; }
  .wc:nth-child(3) { top: 156px; }
  .wc h3 { font-size: 17px; } .wc p { font-size: 14px; line-height: 1.45; } .wc svg { width: 26px; height: 26px; }
  .sc .levu-sec { padding-top: 64px; }

  .dh-cart { top: auto; width: 100%; max-height: 88svh; border-radius: 20px 20px 0 0; transform: translateY(100%); box-shadow: 0 -20px 60px rgba(0,0,0,.2); }
}
