@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT,WONK@9..144,600,100,0&display=swap");
/* Shared by every page of firsthandstories.app: tokens, the collapsing large title and glass top bar, the glass content sheet, margin photos, the holiday bow, cards and motion */
  :root { --bg: #fbf8f3; --fg: #1d1d1f; --text: #3d3630; --muted: #5f5f66; --accent: #c8423f; --on-accent: #ffffff; --line: #e5ded3; --card: #ffffff; --box: #f5ede2; --glass-edge: rgba(255,255,255,.7); --glass-shine: rgba(255,255,255,.9); }
  @media (prefers-color-scheme: dark) {
    :root { --bg: #0b0b0d; --fg: #f2f2f4; --text: #d9d2ca; --muted: #a3a3ab; --accent: #ff7462; --on-accent: #0b0b0d; --line: #2a2a30; --card: #16161a; --box: #1a1714; --glass-edge: rgba(255,255,255,.12); --glass-shine: rgba(255,255,255,.16); }
  }
  * { box-sizing: border-box; }
  body { margin: 0; background: var(--bg); color: var(--fg); font: 18px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; }
  main { max-width: 880px; margin: 0 auto; padding: 16px 16px 80px; }
  a { color: var(--accent); }
  :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
  .topbar { position: sticky; top: 0; z-index: 10; }
  .topbar::before { content: ""; position: absolute; inset: 0; opacity: var(--p, 0); border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); }
  .topbar-in { position: relative; max-width: 880px; margin: 0 auto; padding: 4px 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; }
  .mini-brand { display: flex; align-items: center; gap: 6px; color: var(--fg); text-decoration: none; padding: 8px; opacity: var(--mini, 0); }
  .mini-brand .mark { width: 32px; height: 14px; }
  .topbar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 2px; }
  .topbar nav a { display: block; padding: 12px 8px; border-radius: 8px; color: var(--fg); text-decoration: none; font-size: 0.92rem; }
  .topbar nav a:hover { color: var(--accent); }
  @media (max-width: 520px) { .topbar ul { flex-wrap: nowrap; } .topbar nav a { padding: 12px 6px; font-size: .85rem; } .mini-brand span { display: none; } }
  .big-brand { display: flex; align-items: center; gap: 14px; margin: 4px 0 48px; transform-origin: 0 0; will-change: transform, opacity; }
  .big-brand .mark { width: 72px; height: 30px; flex: none; }
  .big-brand p { margin: 0; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; }
  /* The wordmark: Fraunces, soft and upright, whose rounded strokes echo the voice line */
  .wordmark, .big-brand p, .mini-brand span { font-family: Fraunces, Georgia, serif; font-style: normal; font-weight: 600;
    font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72; letter-spacing: -0.015em; }
  .mini-brand span { font-size: 1.25rem; line-height: 1; }
  .serif { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -0.02em; }
  .serif-line { font-family: Fraunces, Georgia, serif; font-style: italic; }
  .banner { display: flex; align-items: center; gap: 16px; background: var(--box); border: 1px solid var(--line); border-radius: 18px;
            padding: 12px 16px; text-decoration: none; color: var(--fg); margin: 8px 0 32px; }
  .banner img { width: 120px; height: auto; flex: none; }
  .banner b { color: var(--accent); }
  .banner span { display: block; color: var(--muted); font-size: 0.95rem; }
  .hero { display: grid; gap: 28px; align-items: center; }
  @media (min-width: 760px) { .hero { grid-template-columns: 1fr 1.15fr; } }
  h1 { font-size: clamp(2.4rem, 7vw, 3.5rem); line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
  .lede { font-size: 1.2rem; color: var(--text); margin: 0 0 24px; text-wrap: pretty; }
  .hero img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.12); }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .button { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
            background: var(--accent); color: var(--on-accent); border: 1px solid var(--accent); }
  .button.secondary { background: transparent; color: var(--fg); border-color: var(--line); }
  section { margin: 72px 0; }
  h2 { font-size: clamp(1.9rem, 5vw, 2.4rem); line-height: 1.1; margin: 0 0 8px; }
  .sub { color: var(--text); font-size: 1.15rem; margin: 0 0 28px; }
  .grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); list-style: none; padding: 0; margin: 0; }
  .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
  .card h3 { font-size: 1.05rem; margin: 0 0 6px; }
  .card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
  .num { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px;
         background: linear-gradient(135deg, #ffc27a, #f0706a); color: #1d1d1f; font-weight: 700; }
  .feature { display: grid; gap: 28px; align-items: center; }
  @media (min-width: 760px) { .feature { grid-template-columns: 1.2fr 0.8fr; } }
  .feature ul { padding-left: 1.2em; color: var(--text); margin: 0; }
  .feature li { margin-bottom: 10px; }
  figure { margin: 0; }
  figure img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
  figure img.phone { max-width: 230px; margin: 0 auto; border: 0; border-radius: 0; background: none; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); }
  figcaption, .note { margin-top: 8px; font-size: 0.9rem; color: var(--muted); text-align: center; }
  .quote { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
  .quote p { font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.35; margin: 0; }
  .closing { text-align: center; background: var(--box); border: 1px solid var(--line); border-radius: 22px; padding: 32px 20px; }
  .closing .actions { justify-content: center; }
  .closing p { color: var(--text); }
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .grid > .reveal:nth-child(2) { transition-delay: .1s; } .grid > .reveal:nth-child(3) { transition-delay: .2s; } .grid > .reveal:nth-child(4) { transition-delay: .3s; }
  .hero > * { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; } .hero > img { animation-delay: .2s; }
  .hero img { transition: transform .6s cubic-bezier(.2,.8,.2,1); } .hero img:hover { transform: translateY(-6px) rotate(-.5deg); }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  .card { transition: transform .3s ease, box-shadow .3s ease; }
  .grid .card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
  .feature .phone { animation: float 6s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px); } }
  @media (prefers-reduced-motion: reduce) {
    .hero > *, .feature .phone { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
  }
  .keep img { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 14px; }
  .communities { padding: 28px 24px; }
  .communities ul { padding-left: 1.2em; color: var(--text); margin: 0 0 16px; }
  .communities li { margin-bottom: 10px; }
  .communities > p { color: var(--text); }
  html, body { overflow-x: clip; } body { position: relative; }
  .margin-photos { display: none; }
  @media (min-width: 1100px) {
    .margin-photos { display: block; position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
    .margin-photos img { position: absolute; height: auto; border: 6px solid #fbf8f3; border-radius: 3px;
      box-shadow: 0 14px 34px rgba(0,0,0,.28); transform: translate3d(0, var(--y, 0px), 0) rotate(var(--r)); will-change: transform; }
    .margin-photos img.big { border-width: 10px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
    main { position: relative; z-index: 1; }
    /* Liquid Glass sheet: the content floats over the photos, which show through blurred at its edges */
    main { margin-top: 12px; padding: 28px 40px 56px; border-radius: 36px;
      background: color-mix(in srgb, var(--bg) 72%, transparent);
      -webkit-backdrop-filter: blur(28px) saturate(1.5); backdrop-filter: blur(28px) saturate(1.5);
      border: 1px solid var(--glass-edge); box-shadow: inset 0 1px 0 var(--glass-shine), 0 30px 80px rgba(0,0,0,.18); }
  }
  /* Holiday sticker: a price sticker slapped on the page; sticks in the right margin on wide screens */
  /* Holiday bow and gift tag: sticks in the right margin on wide screens */
  .sticker { position: absolute; top: 56px; right: 8px; z-index: 11; width: 128px; display: flex; flex-direction: column; align-items: center;
    text-decoration: none; transform: rotate(8deg); transform-origin: 50% 20%; animation: drop .9s cubic-bezier(.2,1.5,.4,1) .5s both;
    filter: drop-shadow(0 10px 14px rgba(90,10,10,.35)); }
  .sticker .bow { width: 100%; height: auto; display: block; position: relative; z-index: 2; }
  .sticker .tag { margin-top: -10px; position: relative; display: grid; gap: 2px; text-align: center; padding: 14px 10px 10px; width: 86%;
    background: linear-gradient(160deg, #fffaf0, #f3e6cf); color: #8e1416; border-radius: 6px 6px 10px 10px;
    clip-path: polygon(14% 0, 86% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); transform-origin: 50% 0; animation: sway 4s ease-in-out 1.6s infinite; }
  .sticker .tag::before { content: ""; position: absolute; top: 5px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%; background: #c9b48e; }
  .sticker .t-top { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #b8322f; margin-top: 4px; }
  .sticker .t-big { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.05rem; line-height: 1.1; color: #3a1a12; }
  .sticker .t-more { font-size: .62rem; font-weight: 600; color: #8e1416; }
  .sticker:hover { transform: rotate(0deg) scale(1.05); transition: transform .4s cubic-bezier(.2,1.5,.4,1); }
  @keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(-10deg); } }
  @keyframes sway { 50% { transform: rotate(-4deg); } }
  main { position: relative; }
  .big-brand { padding-right: 130px; }
  @media (min-width: 1260px) {
    .sticker { position: fixed; top: 10px; right: max(16px, calc(((100vw - 880px) / 2 - 180px) / 2)); width: 180px; }
    .sticker .t-top { font-size: .72rem; } .sticker .t-big { font-size: 1.45rem; } .sticker .t-more { font-size: .72rem; }
    .big-brand { padding-right: 0; }
  }
  @media (max-width: 1259px) { .sticker { width: 100px; } .sticker .t-big { font-size: .9rem; } .sticker .t-top, .sticker .t-more { font-size: .55rem; } .big-brand { margin-bottom: 52px; } }
  @media (prefers-reduced-motion: reduce) { .sticker, .sticker .tag { animation: none; } }
  footer { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.9rem; color: var(--muted); }
  footer a { margin-right: 16px; }
  footer p { margin: 4px 0; }

/* Hover: buttons lift, links warm up */
.button { transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background-color .2s ease, border-color .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); filter: brightness(1.06); }
.button:active { transform: translateY(0) scale(.98); box-shadow: none; }
.button.secondary:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 8px 20px rgba(0,0,0,.12); filter: none; }
.topbar nav a { transition: color .2s ease, background-color .2s ease; }
.topbar nav a:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }
.mini-brand { transition: transform .25s ease; } .mini-brand:hover { transform: scale(1.03); }
main a:not(.button):not(.banner) { text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s ease, color .2s ease; }
main a:not(.button):hover { text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .button, .button:hover, .button:active { transform: none; } }
/* Photos sit back a little so the words lead (#233) */
/* --photo is how much of each photo shows; tune it live with [ and ] (site.js), then set the value here */
:root { --photo: .5; }
/* One wash of the page colour over the whole margin-photo layer, so overlapping photos fade together rather than showing through each other */
.margin-photos::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: calc(1 - var(--photo)); }
.tune-badge { position: fixed; left: 12px; bottom: 12px; z-index: 50; padding: 8px 12px; border-radius: 10px; background: var(--fg); color: var(--bg); font: 600 14px/1.2 -apple-system, system-ui, sans-serif; }

/* The page you are on, marked in the top bar (#233) */
.topbar nav a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* Bands (#233, shared by #234): Apple-style full-width bands, each a change of ground marking one idea; picture-and-words rows; scroll motion.
   A page opts in with <body class="bands">, which also drops the glass sheet (the bands run the full width instead) and the margin photos. */
  :root { --band-paper: #f1ece3; --band-ink: #1c1a17; --band-ink-fg: #f3efe8; --band-ink-muted: #b9b0a4; }
  @media (prefers-color-scheme: dark) { :root { --band-paper: #18161a; --band-ink: #000000; } }
  body.bands .margin-photos { display: none; }
  body.bands main { margin-top: 0; padding: 16px 16px 80px; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
  .h1sub { font-size: 1.2rem; color: var(--text); margin: 0 0 8px; max-width: 640px; }
  .band { position: relative; padding-block: 72px; margin-block: 40px; background: var(--bg-band); box-shadow: 0 0 0 100vmax var(--bg-band); clip-path: inset(0 -100vmax); }
  .band.paper { --bg-band: var(--band-paper); }
  .band.ink { --bg-band: var(--band-ink); color: var(--band-ink-fg); }
  .band.ink .serif-line, .band.ink .muted { color: var(--band-ink-muted); }
  .eyebrow { margin: 0 0 6px; color: var(--accent); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
  .band h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; margin: 0 0 10px; }
  .why { display: grid; gap: 56px; margin-top: 40px; }
  .why-row { display: grid; gap: 28px; align-items: center; }
  @media (min-width: 760px) { .why-row { grid-template-columns: 1fr 1fr; } .why-row:nth-child(even) .why-pic { order: 2; } }
  .why-pic { position: relative; }
  .why-pic img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 24px 50px rgba(60,40,20,.18); }
  .why-pic .print { border: 10px solid #fbf8f3; border-radius: 4px; transform: rotate(-2deg); }
  .why-pic .phone { max-width: 260px; margin: 0 auto; box-shadow: none; filter: drop-shadow(0 24px 40px rgba(0,0,0,.3)); border-radius: 0; }
  .why-row h3 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.8rem; line-height: 1.15; margin: 0 0 10px; }
  .why-row p { margin: 0; color: var(--text); font-size: 1.08rem; max-width: 46ch; }
  [data-drift] { will-change: transform; }
  .why-row.reveal .why-pic { transform: translateX(-40px); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
  .why-row.reveal:nth-child(even) .why-pic { transform: translateX(40px); }
  .why-row.reveal.in .why-pic { transform: none; }
  h1, h2, h3, p, small { text-wrap: pretty; } h1, h2 { text-wrap: balance; }
  .band.ink .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: var(--band-ink-fg); }
  .band.ink .card p, .band.ink .card li, .band.ink .card .line { color: var(--band-ink-muted); }
  .band.ink a:not(.button) { color: #f6a184; }
  .band .grid > .card, .band .plans > .card { box-shadow: none; }
  .closing p { text-wrap: balance; }
  @media (max-width: 520px) { .band { padding-block: 48px; } }
