/* ==========================================================================
   Interior pages — law firms, CRNAs, solopreneurs, team
   Loaded after base.css. Shared chrome and section system for every page
   that isn't the homepage.
   ========================================================================== */

/* The interior pages set body copy in Instrument Sans rather than Inter. */
.page {
  --font-body: "Instrument Sans", system-ui, sans-serif;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.page a:hover { color: var(--gold-light); }

/* Anchor scrolling must clear the sticky bar. */
html:has(.page) { scroll-padding-top: 76px; }

/* ==========================================================================
   Sticky bar
   ========================================================================== */
.bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 60px);
  background: rgba(7, 20, 17, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 236, 231, .1);
}

.bar__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.bar__brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.bar__brand span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -.02em;
  color: var(--bone);
}

.bar__right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}
.bar__context {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(244, 241, 234, .45);
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .16em;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
  padding: 11px 20px;
  font-size: 10.5px;
}
.btn--gold:hover { background: var(--gold-light); color: var(--ink); }

.btn--lg {
  padding: 17px 30px;
  font-size: 12px;
  letter-spacing: .14em;
  gap: 12px;
}
.btn--lg span { font-size: 14px; }

.btn--block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 17px 26px;
  font-size: 11.5px;
}

.btn--ink {
  background: var(--ink-card);
  color: var(--gold-light);
}
.btn--ink:hover { background: var(--ink-card-hover); color: var(--gold-light); }

.btn--outline {
  border: 1px solid rgba(201, 162, 77, .6);
  color: var(--gold);
  padding: 16px 34px;
  font-size: 11.5px;
  letter-spacing: .2em;
}
.btn--outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.btn--quiet {
  border: 1px solid rgba(232, 236, 231, .28);
  color: rgba(244, 241, 234, .85);
  padding: 15px 26px;
  font-size: 11px;
}
.btn--quiet:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.meta-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(244, 241, 234, .45);
}

/* ==========================================================================
   Reveal — interior pages rise on intersection rather than on scroll offset
   ========================================================================== */
@keyframes fs-rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.page [data-reveal] {
  opacity: 0;
  transform: none;
  transition: none;
}
.page [data-reveal].is-visible {
  animation: fs-rise .9s cubic-bezier(.2, .7, .2, 1) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.band {
  position: relative;
  padding: clamp(70px, 9.5vw, 150px) var(--pad-x);
  overflow: hidden;
}
.band--ink     { background: var(--ink); }
.band--deep    { background: var(--ink-card); }
.band--forest  { background: var(--ink-card-hover); }
.band--bone    { background: var(--bone); color: var(--ink-card); }

.band__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}
.band__inner--wide   { max-width: 1320px; }
.band__inner--narrow { max-width: 1180px; }

/* Decorative marks bled off the edges */
.band__mark {
  position: absolute;
  height: auto;
  pointer-events: none;
}

.eyebrow--dim   { color: rgba(232, 236, 231, .6); }
.eyebrow--gold  { color: rgba(201, 162, 77, .9); }
.eyebrow--onink { color: rgba(12, 28, 24, .6); }
.eyebrow--faint { color: rgba(244, 241, 234, .42); }

.rule-tick--dark { background: #9a7526; }

.h-hero {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 104px);
  line-height: .96;
  letter-spacing: -.045em;
  color: var(--cream);
  text-wrap: pretty;
}
.h-lg {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 82px);
  line-height: .97;
  letter-spacing: -.048em;
  text-wrap: pretty;
}
.h-md {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 66px);
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--cream);
  text-wrap: pretty;
}
.h-sm {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -.042em;
  color: var(--cream);
  text-wrap: pretty;
}
.h-xs {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -.042em;
  color: var(--cream);
  text-wrap: pretty;
}

.lede {
  margin: clamp(24px, 3vw, 38px) 0 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.58;
  color: rgba(244, 241, 234, .8);
  text-wrap: pretty;
}

.body-copy {
  font-size: clamp(16.5px, 1.35vw, 21px);
  line-height: 1.6;
  color: rgba(244, 241, 234, .82);
  text-wrap: pretty;
  max-width: 52ch;
}
.band--bone .body-copy { color: rgba(12, 28, 24, .84); }

.pull {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.34;
  letter-spacing: -.03em;
  color: var(--gold-light);
  text-wrap: pretty;
}

/* Credential strip under a hero */
.creds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  margin-top: clamp(40px, 5.5vw, 74px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid rgba(232, 236, 231, .13);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(244, 241, 234, .62);
}
.creds em { font-style: normal; color: var(--gold-light); }
.creds i  { font-style: normal; color: rgba(232, 236, 231, .25); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 46px);
}

/* ==========================================================================
   Grids and cards
   ========================================================================== */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
}
.grid--2    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--cards{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--tight{ grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(14px, 1.8vw, 22px); }

.card {
  border: 1px solid rgba(232, 236, 231, .14);
  border-radius: 6px;
  padding: clamp(26px, 3vw, 42px);
}
.card--gold {
  border-color: rgba(201, 162, 77, .5);
  background: rgba(201, 162, 77, .09);
}
.card--onbone {
  border-color: rgba(12, 28, 24, .14);
  background: var(--bone);
}
.card__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  color: rgba(201, 162, 77, .9);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(23px, 2.3vw, 34px);
  line-height: 1.06;
  letter-spacing: -.038em;
  color: var(--cream);
  text-wrap: pretty;
}
.card p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.56;
  color: rgba(244, 241, 234, .78);
  text-wrap: pretty;
  max-width: 44ch;
}
.card--onbone h3 { color: var(--ink-card); }
.card--onbone p  { color: rgba(12, 28, 24, .72); }

/* Numbered complaint / step list */
.numbered {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}
.numbered__item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(201, 162, 77, .5);
}
.numbered__n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
}
.numbered__item p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.5;
  color: rgba(244, 241, 234, .85);
  text-wrap: pretty;
}
.band--bone .numbered__n { color: #9a7526; }
.band--bone .numbered__item p { color: rgba(12, 28, 24, .8); }

/* ==========================================================================
   Booking block — the calendar embed drops in where the placeholder is
   ========================================================================== */
.booking {
  border: 1px dashed rgba(232, 236, 231, .28);
  border-radius: 6px;
  padding: clamp(18px, 2.2vw, 26px);
}
.booking--onbone {
  border-color: rgba(12, 28, 24, .3);
  background: rgba(255, 255, 255, .5);
  padding: clamp(22px, 2.6vw, 32px);
}

.booking__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(244, 241, 234, .55);
}
.booking--onbone .booking__head { color: rgba(12, 28, 24, .55); }
.booking__head em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--gold-light);
}
.booking--onbone .booking__head em { color: #9a7526; }

/* Stand-in month grid; replace the whole .booking__grid with the real embed. */
.booking__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 20px;
}
.booking__grid span {
  aspect-ratio: 1;
  border-radius: 3px;
  background: rgba(232, 236, 231, .07);
}
.booking__grid span.is-open { background: rgba(201, 162, 77, .42); }
.booking--onbone .booking__grid span { background: rgba(12, 28, 24, .07); }
.booking--onbone .booking__grid span.is-open { background: rgba(201, 162, 77, .4); }

.call-outline {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(26px, 3vw, 36px);
}
.call-outline > div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.call-outline span {
  flex-shrink: 0;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
}
.band--bone .call-outline span { color: #9a7526; }
.call-outline p {
  margin: 0;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: rgba(244, 241, 234, .8);
  text-wrap: pretty;
}
.band--bone .call-outline p { color: rgba(12, 28, 24, .8); }

.call-terms {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 241, 234, .16);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(244, 241, 234, .55);
}
.band--bone .call-terms {
  border-top-color: rgba(12, 28, 24, .16);
  color: rgba(12, 28, 24, .55);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.quote {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(232, 236, 231, .14);
  border-radius: 6px;
  padding: clamp(26px, 2.8vw, 36px);
  margin: 0;
}
.quote > p {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.56;
  color: rgba(244, 241, 234, .85);
  text-wrap: pretty;
}
.quote figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(232, 236, 231, .12);
}
.quote__badge {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 236, 231, .2);
  background: rgba(232, 236, 231, .05);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: rgba(244, 241, 234, .55);
}
.quote__who {
  display: block;   /* they are spans in the markup */
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.02em;
  color: var(--cream);
}
.quote__role {
  display: block;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(244, 241, 234, .78);
}
.quote__org {
  display: block;
  margin: 3px 0 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: rgba(244, 241, 234, .5);
}

/* ==========================================================================
   Slim interior footer
   ========================================================================== */
.pagefoot {
  background: var(--ink-card);
  padding: clamp(40px, 5vw, 64px) var(--pad-x);
}
.pagefoot__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pagefoot__home {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(244, 241, 234, .6);
}
.pagefoot__home:hover { color: var(--gold); }
.pagefoot__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 28px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .bar__context { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .page [data-reveal],
  .page [data-reveal].is-visible {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}


/* ==========================================================================
   Testimonials — featured + supporting
   One long quote carries the section; the rest corroborate it. Specific
   attribution (name, firm, state, practice area) is the trust signal, so the
   caption gets room rather than being squeezed to one line.
   ========================================================================== */
/* Six tracks so four quotes tile without a hole: 4+2 on the first row,
   3+3 on the second. A 3-column grid would leave an empty cell. */
.quotes--featured {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: stretch;
}
.quote--lead {
  border-color: rgba(201, 162, 77, .45);
  background: rgba(201, 162, 77, .06);
}
.quotes--featured > .quote { grid-column: span 3; }
.quotes--featured > .quote--lead { grid-column: span 4; }
.quotes--featured > .quote--lead + .quote { grid-column: span 2; }
.quote--lead blockquote p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.52;
  color: var(--cream);
}

.quote blockquote {
  margin: 0 0 26px;
}
.quote blockquote p {
  margin: 0;
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.58;
  color: rgba(244, 241, 234, .86);
  text-wrap: pretty;
}
.quote blockquote p + p { margin-top: 14px; }

.quote__stars {
  display: block;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--gold);
}

.quote__id { display: block; }

.quote__org i {
  font-style: normal;
  margin: 0 5px;
  color: rgba(244, 241, 234, .3);
}

.quote--lead .quote__badge {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

/* Section header: rating summary sits opposite the heading. */
.lf-quotes__sub {
  margin: 12px 0 0;
  max-width: 54ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(244, 241, 234, .66);
  text-wrap: pretty;
}
.quotes-source {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}
.quotes-source__stars {
  font-size: 17px;
  letter-spacing: .18em;
  color: var(--gold);
}
.quotes-source__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(244, 241, 234, .5);
}

/* These must reset every span rule above, not just the lead: a leftover
   `span 3` in a 2-track grid spills into implicit columns and ends up one
   card per row. */
@media (max-width: 1100px) {
  .quotes--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes--featured > .quote,
  .quotes--featured > .quote--lead,
  .quotes--featured > .quote--lead + .quote { grid-column: span 1; }
}
@media (max-width: 720px) {
  .quotes--featured { grid-template-columns: minmax(0, 1fr); }
  .quotes-source { align-items: flex-start; }
}

/* ==========================================================================
   Booking blocks shared by the industry pages
   (mid-page host card, "your call is with" card, HubSpot scheduler frame)
   ========================================================================== */
.bookmid-card {
  border: 1px solid rgba(232, 236, 231, .18);
  border-radius: 6px;
  background: rgba(7, 20, 17, .4);
  padding: clamp(24px, 2.8vw, 34px);
}
.bookmid-card__who {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(244, 241, 234, .5);
  margin-bottom: 12px;
}
.bookmid-card__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -.03em;
  color: var(--cream);
}
.bookmid-card__role {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(244, 241, 234, .62);
}
.bookmid-card__terms {
  margin: 16px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(244, 241, 234, .45);
}

.host-card {
  border-left: 2px solid var(--gold);
  padding-left: clamp(20px, 2.2vw, 28px);
}
.host-card__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.9vw, 26px);
  letter-spacing: -.03em;
  color: var(--ink-card);
}
.host-card__role {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(12, 28, 24, .68);
}
.host-card .call-terms { border-top-color: rgba(12, 28, 24, .16); }

/* --- HubSpot scheduler --------------------------------------------------
   The widget renders in a cross-origin iframe, so only the frame around it
   is ours. min-height reserves the space before the script injects it, so
   the page doesn't lurch when it lands. */
.scheduler {
  /* HubSpot's own content caps out near 800px; left at full width the
     calendar and the time list drift apart with dead space beside them. */
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid rgba(12, 28, 24, .16);
  border-radius: 6px;
  background: #ffffff;
  padding: clamp(10px, 1.2vw, 18px);
  box-shadow: 0 18px 44px rgba(12, 28, 24, .10);
}
/* Reserve space only until the iframe lands — otherwise the floor outlives
   its purpose and leaves white space under a shorter embed. */
.scheduler .meetings-iframe-container:empty { min-height: 690px; }
.scheduler .meetings-iframe-container iframe {
  display: block;
  width: 100% !important;
  border: 0;
}
.scheduler__hint {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: rgba(12, 28, 24, .5);
}

.scheduler__fallback {
  margin: 0;
  padding: 28px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12, 28, 24, .8);
}

@media (max-width: 620px) {
  .scheduler .meetings-iframe-container:empty { min-height: 900px; }
}
