/*
 * Tee's Flooring — Aspire Digital Document Suite
 * Shared stylesheet for all client deliverables.
 * Docs: prospect-brief · inspector-reno-series · website-reveal · ask-tony-brief · discovery-doc
 * Fonts loaded via <link> in each HTML file:
 *   DM Sans · DM Serif Display · EB Garamond
 */

/* ─── TOKENS ───────────────────────────────────────────────────── */
:root {
  --bg:           #FAF0E2;
  --bg-alt:       #F2EDE6;
  --bg-dark:      #2C3340;
  --text:         #2C3340;
  --text-sec:     #666666;
  --text-muted:   #595959;
  --accent:       #C4622D;
  --accent-dark:  #A34E1A;
  --border:       #E5E5E5;
  --border-light: #F0F0F0;
  --green:        #4A7B5A;
  --charcoal:     #2C3340;
  --white:        #ffffff;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-accent:  'EB Garamond', Georgia, serif;
  --font-num:     'Unbounded', sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 1px 4px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
  --shadow-medium: 0 4px 16px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-strong: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
}

/* ─── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: var(--accent); color: #fff; }

/* ─── BASE ─────────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 64px;
}

/* ─── TOPBAR ───────────────────────────────────────────────────── */
/* All three elements (Aspire logo · sep · doc title · sep · client logo) centered as a group */
.doc-topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px; z-index: 500;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 0 2rem; gap: .875rem;
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.doc-topbar::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
.doc-topbar__logo { height: 34px; width: auto; display: block; flex-shrink: 0; }
.doc-topbar__sep  { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
.doc-topbar__label {
  font-family: var(--font-body); font-size: .625rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-sec);
  white-space: nowrap;
}
.doc-topbar__client-logo { height: 38px; width: auto; display: block; flex-shrink: 0; }
/* Optional right action — pushed to far right */
.doc-topbar__action { position: absolute; right: 2rem; flex-shrink: 0; }
.doc-topbar__pill {
  font-family: var(--font-body); font-size: .5rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .25rem .875rem; border-radius: var(--radius-full);
  background: rgba(196,98,45,.1); border: 1px solid rgba(196,98,45,.18);
  color: var(--accent); white-space: nowrap;
}

/* ─── BUTTON ───────────────────────────────────────────────────── */
.btn-site {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center;
  padding: 6px 66px 6px 30px; min-height: 60px;
  border-radius: 9999px; border: 2px solid var(--accent);
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  letter-spacing: 0.3px; cursor: pointer; white-space: nowrap; flex-shrink: 0;
  transition: color .5s ease .18s, transform .25s ease, border-color .35s ease;
  -webkit-font-smoothing: antialiased;
}
.btn-site .bg-fill {
  position: absolute; top: 4px; bottom: 4px; right: 4px;
  left: calc(100% - 52px); border-radius: 9999px;
  background: var(--accent-dark);
  transition: left .75s cubic-bezier(.22,1,.36,1);
  z-index: 1; pointer-events: none;
}
.btn-site:hover .bg-fill { left: 6px; }
.btn-site:hover { color: #fff; }
.btn-site .label { position: relative; z-index: 3; white-space: nowrap; }
.btn-site .arrow-wrap {
  position: absolute; right: 4px; top: 50%; margin-top: -24px;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 4; font-size: 18px; color: #fff;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.btn-site:hover .arrow-wrap { transform: translateX(3px); }
.btn-site:active { transform: scale(0.97); }

/* ─── DOC HEADER (design-library style — prospect briefs, research docs) ─── */
.doc-header {
  background: #ffffff;
  padding: 52px 64px 48px;
  border-bottom: 2px solid var(--accent);
}
.doc-header__logos {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.doc-header__aspire-logo { height: 40px; width: auto; display: block; }
.doc-header__client-logo { height: 68px; width: auto; display: block; }
.doc-header__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .6875rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 18px;
  padding: 5px 14px 5px 7px;
  background: rgba(163,78,26,.08); border: 1px solid rgba(163,78,26,.18);
  border-radius: var(--radius-full);
}
.doc-header__eyebrow-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.doc-header__eyebrow-icon svg { width: 10px; height: 10px; fill: #fff; }
.doc-header__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--text); margin-bottom: 14px; max-width: 720px;
}
.doc-header__sub {
  font-family: var(--font-body); font-size: 1.0625rem;
  color: var(--text-sec); line-height: 1.65;
  max-width: 600px; margin-bottom: 24px;
}
.doc-header__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-sec);
}

/* ─── DOC HERO (single-panel Aspire header for brief/research docs) ─── */
.doc-hero {
  background: var(--bg-dark);
  padding: 4rem max(3rem, 8vw) 4.5rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
}
.doc-hero__logo { height: 54px; width: auto; display: block; margin-bottom: 3rem; }
.doc-hero__from {
  font-family: var(--font-body); font-size: .6875rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(250,240,226,.55); margin-bottom: .875rem;
}
.doc-hero__name {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 400;
  color: #fff; letter-spacing: -.02em; line-height: 1.05; margin-bottom: .5rem;
}
.doc-hero__sub {
  font-family: var(--font-body); font-size: .6875rem; font-weight: 400;
  color: rgba(255,255,255,.3); letter-spacing: .06em; margin-bottom: 2.5rem;
}
.doc-hero__card {
  max-width: 640px; width: 100%;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 1.375rem 1.5rem;
  text-align: left;
}
.doc-hero__tagline {
  font-family: var(--font-accent); font-size: 1.0625rem; font-style: italic;
  color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 1.125rem;
}
.doc-hero__steps { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.doc-hero__steps li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: 1rem; color: rgba(255,255,255,.4); line-height: 1.5;
}
.doc-hero__steps li strong { color: rgba(255,255,255,.65); }
.doc-hero__step-n {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: italic; font-size: .875rem; font-weight: 400;
  color: rgba(255,255,255,.85); margin-top: 1px; flex-shrink: 0;
}

/* ─── LAYOUT ───────────────────────────────────────────────────── */
.wrap { max-width: 860px; margin: 0 auto; padding: 0 2rem; }

/* ─── BRIEF SECTIONS ───────────────────────────────────────────── */
.brief-section {
  padding: 4rem 3rem;
  border-bottom: 1px solid var(--border);
}
.brief-section:last-of-type { border-bottom: none; }
.brief-section--alt   { background: #fff; }       /* white card surface — approved pairing */
.brief-section--sand  { background: var(--bg-alt); }
.brief-section--manifesto {
  background: var(--bg-dark);
  border-bottom: none;
}
.brief-section--manifesto .section-title { color: rgba(250,240,226,.88); }
.brief-section--manifesto .section-body  { color: rgba(250,240,226,.4); }

/* ─── BG UTILITIES ─────────────────────────────────────────────── */
.bg-cream { background: var(--bg); }
.bg-sand  { background: var(--bg); }
.bg-slate { background: var(--bg); }
.bg-deep  { background: var(--bg-dark); }

/* ─── EYEBROW — Option A: left-bar rule ────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
  padding-left: .875rem;
  border-left: 3px solid var(--green);
  margin-bottom: 1.25rem;
  line-height: 1;
  background: none; border-radius: 0; border-top: none; border-right: none; border-bottom: none;
}
.section-eyebrow::before { display: none; }
.bg-deep .section-eyebrow,
.brief-section--manifesto .section-eyebrow {
  color: rgba(250,240,226,.7);
  border-left-color: rgba(250,240,226,.7);
}
.bg-deep .section-eyebrow::before,
.brief-section--manifesto .section-eyebrow::before { display: none; }

/* ─── SECTION HEADING + BODY ────────────────────────────────────── */
.section-title {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400;
  color: var(--text); line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-body {
  font-size: 1.0625rem; line-height: 1.75;
  color: var(--text-sec); max-width: 680px;
}
.section-body + .section-body { margin-top: .875rem; }

/* ─── CALLOUT LABELS — consistent across review + action callouts ── */
/* Used as inline strong at the start of a callout <p>:
   <p><strong class="callout-label callout-label--review">Your eyes on this —</strong> ...</p>
   <p><strong class="callout-label callout-label--action">On your list —</strong> ...</p> */
.callout-label {
  font-family: var(--font-body); font-size: .875rem; font-weight: 700;
  letter-spacing: .01em;
}
.callout-label--review { color: var(--accent-dark); }
.callout-label--action { color: var(--green); }

/* Legacy — keep for backward compat until website-reveal is updated */
.callout-eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--font-body);
  font-size: .6875rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: .25rem;
}
.callout-eyebrow--review { color: var(--accent-dark); }
.action-item-title { color: var(--green); font-weight: 700; }

/* Side-by-side callout strip + solo column-aligned wrapper */
.callout-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2.5rem;
}
/* Solo callout — aligns to one column of the feature-pair, not full-width */
.callout-solo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-top: 2.5rem;
}
.callout-solo > * {
  grid-column: 2; /* default: under content/text column */
}
.callout-solo--left > * {
  grid-column: 1; /* use on sections where callout lives under the image */
}
@media (max-width: 768px) {
  .callout-strip { grid-template-columns: 1fr; }
  .callout-solo { grid-template-columns: 1fr; }
  .callout-solo > * { grid-column: 1; }
}

/* Action callout — left-bar card (madebyotten pattern) */
.action-callout {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem 1.25rem 1.625rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-subtle);
  display: flex; flex-direction: column; gap: .375rem;
}
.action-callout p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--text-muted); }
.action-callout p + p { margin-top: .375rem; }
.action-callout strong { color: var(--text); font-weight: 600; }
.action-callout--send { border-left-color: var(--green); }
.action-callout--send p { color: var(--text); }
.bg-deep .action-callout {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.1);
  border-left-color: var(--accent);
}
.bg-deep .action-callout p { color: rgba(250,240,226,.75); }
.bg-deep .action-callout strong { color: var(--bg); }
.bg-deep .action-callout--send { border-left-color: rgba(74,123,90,.8); }

/* ─── INSIGHT CALLOUT — green-wash section spanning below feature pairs ── */
.insight-callout {
  margin-top: 2.5rem;
  background: rgba(74,123,90,.06);
  border: 1px solid rgba(74,123,90,.18);
  border-top: 3px solid var(--green);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.insight-callout__label {
  font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green);
  display: flex; align-items: center; gap: .4rem;
  padding: 1.125rem 1.75rem .625rem; margin: 0;
}
.insight-callout__label::before { display: none; }
.insight-callout__title {
  font-family: var(--font-accent); font-style: italic;
  font-size: 1.125rem; color: var(--text); line-height: 1.45;
  padding: 0 1.75rem 1rem; margin: 0;
}
.insight-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(74,123,90,.15);
}
.insight-card {
  padding: 1.125rem 1.375rem;
  border-right: 1px solid rgba(74,123,90,.15);
  background: #fff;
}
.insight-card:last-child { border-right: none; }
.insight-card__num { display: none; }
.insight-card__label {
  font-size: .5rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); display: block; margin-bottom: .25rem;
}
.insight-card__head {
  font-size: .9375rem; font-weight: 700; color: var(--text);
  margin: 0 0 .3rem; line-height: 1.3;
}
.insight-card p {
  font-size: .875rem; line-height: 1.6; color: var(--text-sec); margin: 0;
}
/* Dark section overrides for insight callout */
.bg-deep .insight-callout {
  background: rgba(74,123,90,.14);
  border-color: rgba(74,123,90,.35);
  border-top-color: rgba(74,123,90,.8);
}
.bg-deep .insight-callout__label { color: rgba(74,123,90,.9); }
.bg-deep .insight-callout__title { color: rgba(250,240,226,.75); }
.bg-deep .insight-cards { border-top-color: rgba(74,123,90,.2); }
.bg-deep .insight-card {
  background: rgba(255,255,255,.06);
  border-right-color: rgba(255,255,255,.07);
}
.bg-deep .insight-card__head { color: rgba(250,240,226,.82); }
.bg-deep .insight-card p { color: rgba(250,240,226,.42); }
.bg-deep .insight-card__label { color: rgba(74,123,90,.75); }
/* Dark section label overrides */
.bg-deep .callout-label--action { color: rgba(74,123,90,.85); }

/* ─── BADGE ───────────────────────────────────────────────────── */
/* Eyebrow badge — dark bg default, light bg variant */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .25rem .75rem .25rem .3125rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-full);
  font-family: var(--font-body); font-size: .625rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7);
  box-shadow: 0 1px 6px rgba(0,0,0,.18); margin-bottom: 1.25rem;
}
.badge__icon {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.badge__icon svg { width: 9px; height: 9px; fill: #fff; }
.badge--light {
  background: rgba(196,98,45,.07); border-color: rgba(196,98,45,.18);
  color: var(--accent-dark); box-shadow: var(--shadow-subtle);
}
.badge--light .badge__icon { background: var(--accent-dark); }

/* ─── CHECKLIST ───────────────────────────────────────────────── */
.check-list { list-style: none; margin: 1.25rem 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.check-list li {
  display: flex; align-items: flex-start; gap: .75rem;
  font-size: .9375rem; color: var(--text-sec); line-height: 1.6;
}
.check-list li strong { color: var(--text); }
.check-list li::before {
  content: '✓'; flex-shrink: 0; display: inline-flex;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(74,123,90,.12); border: 1px solid rgba(74,123,90,.22);
  align-items: center; justify-content: center;
  font-size: .5rem; font-weight: 700; color: var(--green); margin-top: 2px;
}
.bg-deep .check-list li { color: rgba(250,240,226,.45); }
.bg-deep .check-list li strong { color: rgba(250,240,226,.75); }
.bg-deep .check-list li::before { background: rgba(74,123,90,.25); border-color: rgba(74,123,90,.35); color: rgba(74,123,90,.9); }

/* ─── SCROLL REVEAL ───────────────────────────────────────────── */
@keyframes rv-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rv { opacity: 0; }
.rv.in { animation: rv-up .65s cubic-bezier(.22,1,.36,1) both; }
.rv.in.delay-1 { animation-delay: .1s; }
.rv.in.delay-2 { animation-delay: .2s; }
.rv.in.delay-3 { animation-delay: .3s; }

/* ─── SHARED FOOTER ────────────────────────────────────────────── */
.guide-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(250,240,226,.08);
  padding: 4rem 3rem 3rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem; text-align: center;
}
.guide-footer__heading {
  font-family: var(--font-display);
  font-style: italic; font-size: 1.375rem;
  color: rgba(250,240,226,.82);
  margin-bottom: .25rem; line-height: 1.2;
}
.guide-footer__sub {
  font-family: var(--font-accent);
  font-style: italic; font-size: .9375rem;
  color: rgba(250,240,226,.35); margin-bottom: .5rem;
}
.footer-contacts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; width: 100%; max-width: 640px;
}
.footer-contact {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; text-align: left;
}
.footer-contact__name {
  font-family: var(--font-body); font-weight: 700;
  font-size: 1.0625rem; color: rgba(250,240,226,.92); margin-bottom: .3rem;
}
.footer-contact__role {
  font-size: .9375rem; color: rgba(250,240,226,.38); margin-bottom: 1rem;
}
.footer-contact__links { display: flex; flex-direction: column; gap: .3rem; }
.footer-contact__links a {
  font-size: .9375rem; color: rgba(250,240,226,.65);
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(250,240,226,.25);
  transition: color .18s, text-decoration-color .18s;
}
.footer-contact__links a:hover {
  color: rgba(250,240,226,.92);
  text-decoration-color: rgba(250,240,226,.55);
}
.footer-social { width: 100%; max-width: 640px; text-align: center; }
.footer-social__label {
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600;
  color: rgba(250,240,226,.4); margin-bottom: 1rem;
}
.footer-social__icons { display: flex; gap: .875rem; justify-content: center; }
.footer-social__link {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg); display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: opacity .18s;
}
.footer-social__link:hover { opacity: .75; }
.footer-social__link svg { width: 26px; height: 26px; fill: var(--charcoal); }

/* ─── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 680px) {
  .doc-topbar { padding: 0 1.25rem; gap: .75rem; }
  .doc-hero { padding: 2.5rem 1.5rem 3rem; }
  .brief-section { padding: 3rem 1.5rem; }
  .insight-cards { grid-template-columns: 1fr 1fr; }
  .footer-contacts { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .insight-cards { grid-template-columns: 1fr; }
}
