/* =============================================================
   CABOO · FRONTDESK
   Supplements site.css on the main shell. Reuses
   .page/.shell/.topbar/.hero/.tiles/.cta/.sechead/.endcap/.footer.
   Only Frontdesk-specific pieces live here.
   ============================================================= */

/* hero kicker — "Introducing Frontdesk" */
.fd-kicker {
  margin: 0 0 clamp(14px, 2.2vh, 20px);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.05rem, 1rem + .32vw, 1.28rem);
  letter-spacing: -.01em;
  color: var(--head-mute);
}
.fd-kicker b { color: var(--coral-ink); font-weight: 700; }

/* hero layout — headline and aside as two columns that never overlap.
   The home hero absolutely-positions the aside bottom-right (it clears the
   short "finger!" line); this page's "to your concierge" is longer and would
   collide, so we neutralize that everywhere and give the aside its own column
   only at >=1100 (top-aligned like the comp), stacking under a full-width
   headline below that. */
.hero__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 4.25rem); }
.hero__aside { position: static; right: auto; bottom: auto; width: auto; max-width: 440px; margin: 22px 0 0; }
@media (min-width: 1240px) {
  .hero__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(252px, 23%, 308px);
    column-gap: clamp(32px, 3.2vw, 60px);
    align-items: start;
  }
  .hero__aside { max-width: none; margin: 0; padding-top: clamp(8px, 1.4vw, 20px); }
}

/* scan stage — the hero photo cropped to a calm cinematic band (like the home
   hero), trimming the empty wall above and floor below so the stairs + sign
   anchor the frame. Mobile crops tighter toward the sign. */
.fd-stage {
  margin-top: clamp(30px, 5vh, 60px);
  border-radius: clamp(18px, 2vw, 26px);
  overflow: hidden;
  aspect-ratio: 16 / 6.6;
  background: #ecebe6;
  box-shadow:
    0 1px 2px rgba(26, 22, 19, .05),
    0 44px 96px -64px rgba(26, 22, 19, .5);
}
.fd-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}
@media (max-width: 720px) {
  .fd-stage { aspect-ratio: 4 / 3; }
  .fd-stage img { object-position: 64% 50%; }
}

/* shared section rhythm (matches the home's section cadence) */
.fd-sec { padding-block: clamp(58px, 9vh, 116px); }
.fd-sec .sechead { margin-bottom: clamp(30px, 5vh, 52px); }

/* ---- 001–005 ledger ---- */
.fd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
}
.fd-step {
  padding: clamp(20px, 2.3vw, 30px);
  border-left: 1px solid var(--rule-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(250, 248, 244, .55));
}
.fd-step:first-child { border-left: 0; }
.fd-step__n {
  font-family: var(--font-mono);
  font-size: var(--home-micro);
  letter-spacing: .14em;
  color: var(--coral-ink);
}
.fd-step h3 {
  margin: clamp(22px, 4vh, 40px) 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--espresso);
}
.fd-step p {
  margin: 11px 0 0;
  font-size: var(--home-small);
  line-height: 1.5;
  color: var(--ink-2);
}

/* ---- "lives on" surfaces strip (under the flow) ---- */
.fd-surfaces {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: clamp(20px, 3vh, 30px) 0 0;
  font-family: var(--font-mono);
  font-size: var(--home-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fd-surfaces span {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 5px 12px;
  background: #fff;
  color: var(--ink-2);
  letter-spacing: .04em;
}

/* ---- knowledge pack — feature list + artifact card ---- */
.fd-pack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: center;
}
.fd-pack-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.8vh, 26px); }
.fd-pack-feats li { position: relative; display: grid; gap: 5px; padding-left: 20px; }
.fd-pack-feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral-2);
}
.fd-pack-feats strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h3);
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--espresso);
}
.fd-pack-feats span { font-size: var(--home-small); line-height: 1.5; color: var(--ink-2); }

.fd-pack {
  margin: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 22, 19, .04), 0 40px 80px -52px rgba(26, 22, 19, .36);
}
.fd-pack__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule-soft);
  background: linear-gradient(180deg, rgba(250, 248, 244, .85), #fff);
}
.fd-pack__name {
  font-family: var(--font-mono);
  font-size: var(--home-micro);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.fd-pack__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--home-micro);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2f7d52;
  background: rgba(47, 158, 111, .12);
  border: 1px solid rgba(47, 158, 111, .28);
  border-radius: 999px;
  padding: 4px 10px;
}
.fd-pack__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2f9e6f; }
.fd-pack__rows { padding: 4px 18px; }
.fd-pack__row {
  display: grid;
  grid-template-columns: minmax(82px, auto) 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.fd-pack__row:last-child { border-bottom: 0; }
.fd-pack__k { font-size: var(--home-small); color: var(--ink-3); }
.fd-pack__v { font-size: var(--home-small); font-weight: 500; color: var(--ink); }
.fd-pack__src {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--canvas);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 9px;
}
.fd-pack__row--flag .fd-pack__v { color: #b5751a; }
.fd-pack__src--warn { color: #b5751a; background: rgba(214, 140, 30, .12); border-color: rgba(214, 140, 30, .32); }
.fd-pack__ev {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--rule-soft);
  background: var(--canvas);
  font-size: var(--home-small);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink-2);
}
.fd-pack__ev span {
  display: block;
  margin-top: 7px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ---- customer intent prompts ---- */
.fd-intents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fd-intent {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px;
  font-size: var(--home-body);
  font-weight: 500;
  color: var(--espresso);
  box-shadow: 0 1px 2px rgba(26, 22, 19, .03);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fd-intent:hover {
  border-color: rgba(216, 73, 44, .3);
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(26, 22, 19, .04), 0 18px 40px -28px rgba(26, 22, 19, .3);
}
.fd-intent__mark {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--coral-ink);
  background: rgba(242, 94, 64, .1);
  border: 1px solid rgba(216, 73, 44, .2);
}

/* ---- data layer — dark band, analytics + memory ---- */
.fd-data {
  background: #161310;
  color: #fff;
  border-radius: var(--r-frame);
  padding: clamp(34px, 5vw, 64px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 44px 92px -54px rgba(0, 0, 0, .55);
}
.fd-data__head { max-width: 760px; margin-bottom: clamp(28px, 4.4vh, 46px); }
.fd-data__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--home-badge);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-1);
}
.fd-data__head h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: -.02em;
  color: rgba(255, 255, 255, .68);
  text-wrap: balance;
}
.fd-data__head h2 em { font-style: normal; color: #fff; }
.fd-data__head p { margin: 14px 0 0; max-width: 56ch; font-size: var(--home-body); line-height: 1.6; color: rgba(255, 255, 255, .64); }
.fd-data__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.fd-data__col h3 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: var(--home-micro);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--coral-1);
}
.fd-data__col ul { list-style: none; margin: 0; padding: 0; }
.fd-data__col li {
  position: relative;
  padding: 13px 0 0 20px;
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--home-small);
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
}
.fd-data__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(13px + .55em);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral-2);
}

/* ---- endcap value chips ---- */
.fd-values {
  position: relative;
  list-style: none;
  margin: clamp(22px, 3.2vh, 32px) auto 0;
  padding: 0;
  max-width: 780px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 10px;
}
.fd-values li {
  font-size: var(--home-small);
  color: rgba(255, 244, 238, .94);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  padding: 8px 15px;
}

/* ---- proof — copy left, per-assistant routing right ---- */
.fd-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--rule);
  border-radius: var(--r-frame);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(242, 94, 64, .06), rgba(255, 255, 255, 0) 52%),
    #fff;
  box-shadow: 0 1px 2px rgba(26, 22, 19, .04), 0 40px 80px -56px rgba(26, 22, 19, .34);
}
.fd-proof__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--home-badge);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.fd-proof__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: -.02em;
  color: var(--head-mute);
  text-wrap: balance;
}
.fd-proof__copy h2 em { font-style: normal; color: var(--espresso); }
.fd-proof__copy > p {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: var(--home-body);
  line-height: 1.6;
  color: var(--ink-2);
}
.fd-proof__actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(22px, 3.4vh, 30px);
}
.fd-proof__actions .cta { margin-top: 0; }
.fd-link {
  font-size: var(--home-small);
  font-weight: 500;
  color: var(--coral-ink);
}
.fd-link:hover { text-decoration: underline; }

.fd-routes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.fd-routes li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
}
.fd-routes img { width: 26px; height: 26px; }
.fd-routes strong {
  font-size: var(--home-body);
  font-weight: 600;
  color: var(--ink);
}
.fd-routes span {
  justify-self: end;
  font-family: var(--font-mono);
  font-size: var(--home-micro);
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* Section heads reveal via home.js (.sechead is observed there); the content
   blocks below stay always-visible so nothing depends on a home-page selector. */

/* ---- responsive ---- */
@media (max-width: 1120px) {
  .fd-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-step:nth-child(odd) { border-left: 0; }
  .fd-step:nth-child(n+3) { border-top: 1px solid var(--rule-soft); }
  .fd-intents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .fd-pack-grid { grid-template-columns: 1fr; gap: clamp(24px, 5vw, 36px); }
  .fd-proof { grid-template-columns: 1fr; align-items: start; }
  .fd-data__grid { grid-template-columns: 1fr; gap: clamp(22px, 4vw, 32px); }
}
@media (max-width: 600px) {
  .fd-steps { grid-template-columns: 1fr; }
  .fd-step { border-left: 0; }
  .fd-step:nth-child(n+2) { border-top: 1px solid var(--rule-soft); }
  .fd-step h3 { margin-top: 16px; }
  .fd-intents { grid-template-columns: 1fr; }
  .fd-proof__actions { flex-direction: column; align-items: stretch; }
  .fd-proof__actions .cta { justify-content: center; }
}
