/* /business-mediation — hero + "How we work" method module.
   Ports the /your-call hero system (app/your-call/your-call.module.css) to the static
   business pages: staggered rise H1 with a honey running-stitch under the italic,
   tap-to-text question bubbles, a tilted framed photo with a name tag and a paper
   proof card. The method module reuses the three-part track and adds one signature
   piece: the range line, where three valuation methods land as dots on one axis.
   Tokens come from cabin-clinical.css. Link this AFTER cabin-clinical.css. */

/* Tokens, repeated here (same values as cabin-clinical.css) so the module also works on
   the spokes, which carry their own inline styles instead of cabin-clinical.css. */
.yc-hero, .method {
  --bone: #F4F0E8; --paper: #FFFFFF; --ink: #232019; --muted: #6B6557;
  --forest: #1F5037; --forest-deep: #15402B; --rust: #B5532A; --honey: #E7B24E; --line: #E4DDCD;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, sans-serif; --label: 'Space Grotesk', system-ui, sans-serif;
  --shadow-sm: 0 10px 30px -20px rgba(35,32,25,.35);
}
.yc-hero .wrap, .method .wrap { max-width: 1140px; margin: 0 auto; padding: 0 6%; }
:where(.method) :where(p, h2, h3, h4) { margin: 0; }
.yc-frame, .yc-proof { margin: 0; }
.yc-hero + .hero-quote { padding: 0 0 3rem; }

/* ── Hero ───────────────────────────────────────────────────── */

.yc-hero { padding: 2.6rem 0 4.5rem; overflow: hidden; }
@media (min-width: 1024px) { .yc-hero { padding: 4rem 0 6rem; } }

.yc-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .yc-grid { grid-template-columns: 1.08fr .92fr; gap: 3rem; } }

.yc-eyebrow {
  font-family: var(--label); font-size: .6875rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--forest);
}

.yc-h1 {
  margin-top: 1.25rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.95rem, 7.4vw, 3.3rem);
  line-height: 1.08; letter-spacing: -.02em; color: var(--ink);
}
@media (min-width: 1024px) { .yc-h1 { font-size: clamp(2.3rem, 3.7vw, 3.3rem); } }
.yc-h1 > span { display: block; }
.yc-h1 em { font-style: italic; color: var(--forest); }

/* The running stitch — the thread that recurs through the page */
.stitch-under { position: relative; white-space: nowrap; }
.stitch-under::after {
  content: ""; position: absolute; left: .04em; right: .08em; bottom: -.02em; height: .09em;
  background-image: linear-gradient(90deg, var(--honey) 0 58%, transparent 58% 100%);
  background-size: .34em 100%; border-radius: 999px;
}

.yc-deck { margin-top: 1.75rem; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.35; color: var(--ink); }

/* Question bubbles: sent-message shapes, each a real sms: link */
.ask-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem .55rem; max-width: 36rem; }
.ask-item { display: flex; }
.bubble {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .7rem .7rem .7rem 1.05rem;
  border-radius: 1.25rem 1.25rem .35rem 1.25rem;
  background: var(--forest); color: var(--bone);
  font-family: var(--sans); font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  box-shadow: 0 1px 0 rgb(0 0 0 / .06), 0 6px 14px rgb(31 80 55 / .18);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), background-color 220ms ease, box-shadow 220ms ease;
}
.bubble:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: 0 1px 0 rgb(0 0 0 / .06), 0 12px 22px rgb(31 80 55 / .24); }
.bubble:active { transform: translateY(0) scale(.98); }
.bubble-send {
  display: grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none;
  border-radius: 999px; background: var(--honey); color: var(--ink);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.bubble:hover .bubble-send { transform: translateY(-2px); }
.bubble-ghost {
  display: inline-flex; align-items: center; padding: .7rem 1.05rem;
  border-radius: 1.25rem 1.25rem .35rem 1.25rem;
  border: 1.5px dashed rgb(35 32 25 / .35); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  transition: border-color 220ms ease, background-color 220ms ease;
}
.bubble-ghost:hover { border-color: var(--forest); background: rgb(31 80 55 / .06); }
.bubble:focus-visible, .bubble-ghost:focus-visible, .yc-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.yc-micro { margin-top: .75rem; font-family: var(--label); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.yc-micro--ink { color: var(--ink); }
.yc-lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }

.yc-ctas { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.yc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 3rem; padding: 0 1.5rem; border-radius: 10px;
  font-family: var(--label); font-size: .875rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
}
.yc-btn--rust { background: var(--rust); color: #fff; border: 0; box-shadow: var(--shadow-sm); }
.yc-btn--rust:hover { background: #9c4523; transform: translateY(-2px); }
.yc-btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.yc-btn--outline:hover { background: var(--ink); color: var(--bone); }

/* Tilted frame + name tag + paper proof card */
.yc-media { position: relative; margin: 0 auto; width: 100%; max-width: 460px; padding-bottom: 6rem; }
.yc-frame {
  position: relative; margin: 0; aspect-ratio: 5 / 6; width: 100%; overflow: hidden;
  border-radius: 22px; background: var(--forest-deep);
  box-shadow: 0 30px 60px rgb(35 32 25 / .2), 0 4px 10px rgb(35 32 25 / .08);
  transform: rotate(-.6deg);
}
/* Wide variant: for group photos that a tall 5:6 crop would cut in half */
.yc-frame--wide { aspect-ratio: 4 / 3; }
.yc-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.yc-tag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .8rem;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgb(35 32 25 / .12);
  font-family: var(--label); font-size: .6875rem; font-weight: 600; letter-spacing: .02em; color: var(--ink);
}
.yc-tag-dot { width: .5rem; height: .5rem; border-radius: 999px; background: var(--forest); box-shadow: 0 0 0 3px rgb(31 80 55 / .18); }
.yc-proof {
  position: absolute; left: -2rem; right: 22%; bottom: 0; margin: 0;
  padding: 1.15rem 1.25rem 1rem; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgb(35 32 25 / .16); transform: rotate(-1.5deg);
}
.yc-proof::before, .deal::before {
  content: ""; position: absolute; left: 1.25rem; top: -.2rem; width: 3.5rem; height: .4rem; border-radius: 999px;
  background-image: linear-gradient(90deg, var(--honey) 0 60%, transparent 60% 100%); background-size: .7rem 100%;
}
.yc-proof blockquote { margin: 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.yc-proof figcaption { margin-top: .75rem; font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1023px) { .yc-proof { left: 0; } }
@media (max-width: 480px) { .yc-proof { left: .5rem; right: .5rem; } }

/* One orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: yc-rise 760ms cubic-bezier(.2,.7,.2,1) forwards; }
  .ask-item { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom right; animation: yc-bubble 520ms cubic-bezier(.2,.9,.3,1.2) forwards; }
  .yc-frame { clip-path: inset(100% 0 0 0 round 22px); animation: yc-clip 1100ms cubic-bezier(.2,.7,.2,1) 180ms forwards; }
  .yc-frame img { transform: scale(1.08); animation: yc-settle 1600ms cubic-bezier(.2,.7,.2,1) 180ms forwards; }
  .yc-tag { opacity: 0; animation: yc-rise 600ms cubic-bezier(.2,.7,.2,1) 1000ms forwards; }
  .yc-proof { opacity: 0; animation: yc-card 800ms cubic-bezier(.2,.7,.2,1) 1150ms forwards; }
}
@keyframes yc-rise { to { opacity: 1; transform: translateY(0); } }
@keyframes yc-bubble { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes yc-clip { to { clip-path: inset(0 0 0 0 round 22px); } }
@keyframes yc-settle { to { transform: scale(1); } }
@keyframes yc-card { from { opacity: 0; transform: rotate(-4deg) translateY(22px); } to { opacity: 1; transform: rotate(-1.5deg) translateY(0); } }

/* ── Method module ──────────────────────────────────────────── */

.method { border-top: 1px solid var(--line); background: var(--paper); padding: 5rem 0; }
@media (min-width: 768px) { .method { padding: 7rem 0; } }

.method-head { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .method-head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 4rem; } }
.method-head p { max-width: 28rem; font-size: 1.0625rem; line-height: 1.7; color: var(--muted); }
@media (min-width: 1024px) { .method-head p { justify-self: end; } }

.seal {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .85rem .45rem .6rem;
  border-radius: 999px; border: 1.5px solid var(--forest);
  font-family: var(--label); font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest);
}
.seal-dot { width: .55rem; height: .55rem; border-radius: 999px; background: var(--honey); box-shadow: 0 0 0 3px rgb(231 178 78 / .25); }
.method h2 { margin-top: 1.25rem; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em; }
.method h2 em { font-style: italic; color: var(--forest); }

/* Three-part track, numerals tied by a stitched thread */
.track { list-style: none; padding: 0; position: relative; margin: 3.5rem 0 0; display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  .track::before {
    content: ""; position: absolute; top: 1.75rem; left: 3.5rem; right: 3.5rem; height: 3px; border-radius: 999px;
    background-image: linear-gradient(90deg, var(--honey) 0 60%, transparent 60% 100%); background-size: 16px 100%;
  }
}
.track-step { position: relative; display: flex; flex-direction: column; }
.track-top { display: flex; align-items: center; gap: 1rem; }
.track-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; flex: none;
  border-radius: 999px; background: var(--forest); color: var(--bone);
  font-family: var(--serif); font-size: 1.6rem; box-shadow: 0 0 0 6px var(--paper);
}
.track-name { position: relative; z-index: 1; background: var(--paper); padding-right: .75rem; font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.track-card { margin-top: 1.5rem; flex: 1; display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--bone); padding: 1.6rem; }
@media (min-width: 768px) { .track-card { padding: 1.75rem; } }
.chip { align-self: flex-start; display: inline-block; padding: .35rem .65rem; border-radius: 999px; background: rgb(231 178 78 / .22); font-family: var(--label); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.track-card h3 { margin-top: 1rem; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.25; }
.track-card p { margin-top: .75rem; line-height: 1.7; color: var(--muted); }
.track-card .private { margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed rgb(35 32 25 / .2); font-size: .92rem; line-height: 1.6; color: var(--ink); }
.track-card .private b { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); display: block; margin-bottom: .25rem; }

/* Inside the session: the range, then the three deals */
.inside { margin-top: 5rem; border-radius: 20px; border: 1px solid var(--line); background: var(--bone); overflow: hidden; }
.inside-head { display: grid; gap: 1rem; padding: 1.75rem 1.5rem; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .inside-head { grid-template-columns: 1fr auto; align-items: end; padding: 2rem 2.5rem; } }
.inside-head h3 { margin-top: .6rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.15; }
.inside-head p { max-width: 24rem; font-size: .9rem; line-height: 1.6; color: var(--muted); }
.inside-body { padding: 2rem 1.5rem 2.25rem; }
@media (min-width: 768px) { .inside-body { padding: 2.5rem 2.5rem 2.75rem; } }

.beat { display: grid; gap: 1.25rem; }
@media (min-width: 1100px) { .beat { grid-template-columns: 11rem 1fr; gap: 2.5rem; } }
.beat + .beat { margin-top: 2.75rem; padding-top: 2.5rem; border-top: 1px dashed rgb(35 32 25 / .18); }
.beat-label { font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); }
.beat-label span { display: block; margin-top: .5rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -.01em; text-transform: none; color: var(--ink); line-height: 1.2; }
.beat-note { margin-top: 1.1rem; max-width: 40rem; line-height: 1.7; color: var(--muted); }

/* The signature: the range line */
.range { position: relative; padding: 4.4rem 0 4rem; }
.range-axis { position: relative; height: 3px; border-radius: 999px; background: rgb(35 32 25 / .16); }
.range-band {
  position: absolute; top: 50%; left: 15%; right: 15%; height: 14px; transform: translateY(-50%);
  border-radius: 999px; background: rgb(231 178 78 / .28);
  box-shadow: inset 0 0 0 1.5px rgb(231 178 78 / .55);
}
.range-band::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 3px; transform: translateY(-50%);
  background-image: linear-gradient(90deg, var(--honey) 0 60%, transparent 60% 100%); background-size: 12px 100%; border-radius: 999px;
}
.range-mid { position: absolute; left: 50%; top: 50%; width: 2px; height: 34px; transform: translate(-50%, -50%); background: var(--ink); }
.range-mid-label { position: absolute; left: 50%; top: 1.5rem; transform: translateX(-50%); white-space: nowrap; font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.range-end { position: absolute; top: -1.9rem; font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.range-end--lo { left: 0; } .range-end--hi { right: 0; }
.range-dot {
  position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 999px; transform: translate(-50%, -50%);
  background: var(--forest); box-shadow: 0 0 0 4px var(--bone), 0 4px 10px rgb(31 80 55 / .3);
}
.range-dot--a { left: 21%; } .range-dot--b { left: 43%; } .range-dot--c { left: 79%; }
.range-dot span {
  position: absolute; top: 1.6rem; left: 50%; transform: translateX(-50%); width: 8.5rem; text-align: center;
  font-family: var(--sans); font-size: .8rem; font-weight: 500; line-height: 1.3; color: var(--ink);
}
.range-dot.range-dot--b span { top: auto; bottom: 1.6rem; }
@media (max-width: 599px) {
  .range { padding: 3rem 0 2.4rem; }
  .range-dot span { display: none; }
  .range-key { display: grid !important; }
}
.range-key::before { content: "Left to right"; font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.range-key { display: none; margin-top: 1.25rem; gap: .45rem; list-style: none; padding: 0; font-size: .85rem; color: var(--ink); }
.range-key li { display: flex; align-items: center; gap: .55rem; }
.range-key li::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--forest); flex: none; }

@media (prefers-reduced-motion: no-preference) {
  .js-range .range-dot { opacity: 0; transform: translate(-50%, -160%); transition: opacity 500ms ease, transform 700ms cubic-bezier(.2,.9,.3,1.2); }
  .js-range .range-dot--b { transition-delay: 140ms; } .js-range .range-dot--c { transition-delay: 280ms; }
  .js-range .range-band { transform: translateY(-50%) scaleX(.2); opacity: 0; transition: transform 900ms cubic-bezier(.2,.7,.2,1) 450ms, opacity 400ms ease 450ms; }
  .js-range .range-mid, .js-range .range-mid-label { opacity: 0; transition: opacity 500ms ease 1100ms; }
  .js-range.is-in .range-dot { opacity: 1; transform: translate(-50%, -50%); }
  .js-range.is-in .range-band { transform: translateY(-50%) scaleX(1); opacity: 1; }
  .js-range.is-in .range-mid, .js-range.is-in .range-mid-label { opacity: 1; }
}

/* The three deals: paper cards, stitched, a little crooked */
.deals { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .deals { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.deal { position: relative; padding: 1.4rem 1.3rem 1.2rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 30px -18px rgb(35 32 25 / .35); }
.deal:nth-child(1) { transform: rotate(-.8deg); } .deal:nth-child(2) { transform: rotate(.5deg); } .deal:nth-child(3) { transform: rotate(-.3deg); }
.deal-tag { font-family: var(--label); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.deal h4 { margin-top: .45rem; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.deal ul { list-style: none; margin: .85rem 0 0; padding: 0; display: grid; gap: .45rem; }
.deal li { position: relative; padding-left: 1rem; font-size: .92rem; line-height: 1.5; color: var(--ink); }
.deal li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 999px; background: var(--forest); }

/* If you're stuck */
.stuck { margin-top: 1.5rem; display: grid; gap: 1.25rem; border-radius: 16px; background: var(--forest-deep); color: var(--bone); padding: 1.75rem 1.5rem; }
@media (min-width: 1100px) { .stuck { grid-template-columns: 11rem 1fr; gap: 2.5rem; padding: 2rem 2.25rem; } }
.stuck .beat-label { color: var(--honey); }
.stuck .beat-label span { color: var(--bone); }
.stuck p { line-height: 1.7; color: rgb(244 240 232 / .86); }
.stuck p + p { margin-top: .75rem; }
.stuck strong { color: var(--bone); font-weight: 600; }

/* Why this order + guardrail + CTA */
.method-foot { margin-top: 3.5rem; display: grid; gap: 2rem; }
@media (min-width: 900px) { .method-foot { grid-template-columns: 1.2fr .8fr; align-items: start; gap: 3.5rem; } }
.why { border-left: 2px solid var(--honey); padding-left: 1.25rem; }
.why p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; line-height: 1.45; color: var(--ink); }
.why cite { display: block; margin-top: .75rem; font-style: normal; font-family: var(--label); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.why cite a { color: inherit; text-underline-offset: 3px; }
.method-cta p { font-size: .92rem; line-height: 1.6; color: var(--muted); }
.method-cta .yc-ctas { margin-top: 1.1rem; }
