/* FCC Consulting · Homepage ("On the desk")
   Loaded only by /index.html, after site.css. Every rule is scoped under body.home.
   Tokens, header, buttons, forms and the reusable paper components (sheet, exhibit,
   issue cover) live in site.css; this file holds the homepage layout only. */

/* ---------- Base (main only) ---------- */
.home main h1, .home main h2, .home main h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.012em; text-wrap: balance; }
.home main li { margin-bottom: 0; }
.home main svg { display: block; max-width: 100%; }

/* ---------- Hero ---------- */
.home .hp-hero { padding: clamp(40px, 5vw, 76px) 0 clamp(56px, 6vw, 92px); overflow: hidden; }
.home .hp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 4.5vw, 72px); align-items: center; }
.home .hp-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--teal-dark); margin: 0 0 28px; }
.home .hp-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--teal); }
.home .hp-hero h1 { font-size: clamp(2.25rem, 4.3vw, 3.75rem); line-height: 1.05; letter-spacing: -.022em; color: var(--slate); max-width: none; }
.home .hp-hero h1 em { font-style: italic; color: var(--teal-dark); }
.home .hp-standfirst { font-size: 1.125rem; line-height: 1.55; color: var(--muted); max-width: 34em; margin: 26px 0 0; }
.home .hp-btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* The desk: a still life of file sheets with the portrait clipped on top.
   Internals are sized in container units so the composition holds at every width. */
.home .hp-desk { container-type: inline-size; position: relative; width: 100%; max-width: 560px; aspect-ratio: 540 / 610; margin-left: auto; }
.home .hp-desk .hp-sheet { position: absolute; width: 76%; height: 84%; }
.home .hp-s-a { left: 22%; top: 1%; transform: rotate(5.5deg); padding: 4.8cqw 4cqw 0 0; z-index: 1; }
.home .hp-s-a .hp-col { width: 34%; margin-left: auto; display: grid; gap: 2cqw; justify-items: end; }
.home .hp-s-b { left: 12%; top: 5%; transform: rotate(-2.2deg); padding: 4.8cqw 5.2cqw; z-index: 2; }
.home .hp-desk .hp-redact { height: max(7px, 1.7cqw); }
.home .hp-desk .hp-ln { height: max(5px, 1.1cqw); }
.home .hp-desk .hp-doc-head { font-size: clamp(.5625rem, 1.9cqw, .6563rem); padding-bottom: 1.7cqw; }
.home .hp-photo { position: absolute; z-index: 3; left: -8%; top: 30%; width: 54%; margin: 0; padding: 1.7cqw 1.7cqw 0; background: #fff; border: 1px solid var(--sheet-edge); border-radius: 0; box-shadow: 0 2px 2px rgba(19, 32, 43, .06), 0 22px 34px -18px rgba(19, 32, 43, .5); transform: rotate(-3.5deg); }
.home .hp-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; background: #E9E7E3; }
.home .hp-photo figcaption { padding: 1.7cqw 0 1.9cqw; font: 500 .75rem/1.45 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.home .hp-photo figcaption b { display: block; font-weight: 500; color: var(--slate); }
.home .hp-photo .hp-clip { width: 4.5cqw; height: 11.1cqw; top: -4.4cqw; left: 4cqw; }
.home .hp-lens { position: absolute; z-index: 4; right: -3%; bottom: 1%; width: 27%; aspect-ratio: 1; }
.home .hp-lens svg { width: 100%; height: 100%; }
.home .hp-lens-text { position: absolute; left: 0; right: 0; top: 56%; text-align: center; line-height: 1.1; }
.home .hp-lens-text small { display: block; font-family: var(--mono); font-size: clamp(.5rem, 1.7cqw, .5938rem); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.home .hp-lens-text span { font-family: var(--serif); font-style: italic; font-size: clamp(.6875rem, 3.1cqw, 1.1875rem); color: var(--slate); }
@container (max-width: 500px) {
  .home .hp-fields div:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .home .hp-hero-copy > * { animation: hp-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .home .hp-hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .home .hp-hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .home .hp-hero-copy > *:nth-child(4) { animation-delay: .24s; }
  .home .hp-s-a { animation: hp-fan-a 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .home .hp-s-b { animation: hp-fan-b 1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .home .hp-photo { animation: hp-place .9s cubic-bezier(.2, .7, .2, 1) .45s both; }
  .home .hp-lens { animation: hp-lensin .9s cubic-bezier(.2, .7, .2, 1) .8s both; }
  .home .hp-finding .hp-hl { background-size: 0 100%; animation: hp-mark .9s ease-out 1.3s forwards; }
  @keyframes hp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes hp-fan-a { from { opacity: 0; transform: rotate(0); } to { opacity: 1; transform: rotate(5.5deg); } }
  @keyframes hp-fan-b { from { opacity: 0; transform: rotate(0); } to { opacity: 1; transform: rotate(-2.2deg); } }
  @keyframes hp-place { from { opacity: 0; transform: translateY(-12px) rotate(-1deg); } to { opacity: 1; transform: rotate(-3.5deg); } }
  @keyframes hp-lensin { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
  @keyframes hp-mark { to { background-size: 100% 100%; } }

  /* Scroll reveal. home.js adds .hp-wait only to blocks that start below the fold,
     so nothing is ever hidden without the script that reveals it. */
  .home .hp-wait { opacity: 0; transform: translateY(18px); }
  .home .hp-wait.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .home .hp-wait .hp-hl { background-size: 0 100%; }
  .home .hp-wait.is-in .hp-hl { background-size: 100% 100%; transition: background-size .9s ease-out .45s; }
}

/* ---------- Questions + pull quote ---------- */
.home .hp-questions { border-top: 1px solid var(--slate); }
.home .hp-q-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home .hp-q { padding: 30px 32px 34px 0; border-right: 1px solid var(--border); }
.home .hp-q + .hp-q { padding-left: 32px; }
.home .hp-q:last-child { border-right: 0; padding-right: 0; }
.home .hp-q-no { display: block; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--teal-dark); margin-bottom: 10px; }
.home .hp-q p { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.3; margin: 0; }
.home .hp-pull { margin: 0; border-top: 1px solid var(--border); padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 32px; align-items: start; }
.home .hp-pull figcaption { color: var(--muted); padding-top: 14px; }
.home .hp-pull blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 3.6vw, 3.125rem); line-height: 1.16; letter-spacing: -.015em; border-left: 3px solid var(--teal); padding-left: clamp(20px, 3vw, 40px); max-width: 22em; }
.home .hp-pull blockquote strong { font-weight: 500; font-style: normal; color: var(--teal-dark); }

/* ---------- Sections ---------- */
.home .hp-section { padding: clamp(56px, 8vw, 112px) 0; }
.home .hp-section-flush { padding-top: 0; }
.home .hp-sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 32px; align-items: baseline; border-top: 1px solid var(--slate); padding-top: 22px; margin-bottom: clamp(32px, 4vw, 56px); }
.home .hp-sec-no { color: var(--teal-dark); }
.home .hp-sec-head h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; }
.home .hp-dark .hp-sec-head { border-top-color: rgba(243, 245, 247, .5); }
.home .hp-dark .hp-sec-no { color: var(--signal); }

/* 01 Help */
.home .hp-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.home .hp-help article { padding: 36px 36px 40px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.home .hp-help article:first-child { padding-left: 0; }
.home .hp-help article:last-child { border-right: 0; padding-right: 0; }
.home .hp-help svg { width: 64px; height: 64px; margin-bottom: 26px; }
.home .hp-help .hp-n { font-family: var(--serif); font-style: italic; color: var(--teal-dark); font-size: 1.0625rem; margin-bottom: 6px; }
.home .hp-help h3 { font-size: 1.75rem; line-height: 1.15; margin-bottom: 14px; }
.home .hp-help p { color: var(--muted); margin-bottom: 26px; }
.home .hp-help .hp-arrow { margin-top: auto; align-self: flex-start; }

/* 02 Hard */
.home .hp-dark { background: var(--slate); color: var(--ground); }
.home .hp-hard-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.home .hp-exhibit-cap { margin: 30px 0 0 6px; color: #A9BAC6; }
.home .hp-hard-list { list-style: none; margin: 0; padding: 0; counter-reset: hp-h; }
.home .hp-hard-list li { counter-increment: hp-h; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 20px 0; border-top: 1px solid rgba(243, 245, 247, .18); font-family: var(--serif); font-size: clamp(1.375rem, 2.3vw, 1.9375rem); line-height: 1.2; }
.home .hp-hard-list li::before { content: counter(hp-h, lower-roman) "."; font-style: italic; font-size: 1.0625rem; color: var(--signal); }
.home .hp-hard-list li:last-child { border-bottom: 1px solid rgba(243, 245, 247, .18); }
.home .hp-hard-close { margin: 32px 0 26px; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.3; color: #fff; max-width: 26em; }
.home .hp-dark .hp-hl { --hl: rgba(95, 194, 203, .3); }

/* 03 Question */
.home .hp-ask { background: var(--mist); position: relative; overflow: hidden; }
.home .hp-ask::before { content: ""; position: absolute; right: -140px; top: 50%; width: 560px; height: 560px; margin-top: -280px; border: 38px solid rgba(255, 255, 255, .6); border-radius: 50%; }
.home .hp-ask::after { content: ""; position: absolute; right: 42px; top: 50%; width: 150px; height: 150px; margin-top: -210px; border-radius: 50%; background: rgba(11, 110, 120, .14); }
.home .hp-ask .wrap { position: relative; z-index: 1; }
.home .hp-ask .hp-sec-head { margin-bottom: 28px; }
.home .hp-ask-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3.2fr); gap: 32px; }
.home .hp-ask-q { font-family: var(--serif); font-size: clamp(1.625rem, 3.3vw, 2.875rem); line-height: 1.16; letter-spacing: -.015em; max-width: 21em; margin: 0 0 .6em; }
.home .hp-ask-a { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; color: var(--teal-dark); margin: 0 0 32px; }
.home .hp-ask-a .hp-hl { --hl: rgba(255, 255, 255, .85); }

/* 04 About */
.home .hp-about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.home .hp-byline { display: flex; align-items: center; gap: 26px; margin: 14px 0 30px 4px; }
.home .hp-byline figure { position: relative; flex: 0 0 104px; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--sheet-edge); box-shadow: 0 12px 20px -14px rgba(19, 32, 43, .5); transform: rotate(-3deg); }
.home .hp-byline figure img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.home .hp-byline .hp-clip { width: 18px; height: 44px; top: -18px; left: 14px; }
.home .hp-byline strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.home .hp-byline span { color: var(--muted); }
.home .hp-about-lede { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.5625rem); line-height: 1.42; margin: 0 0 28px; }
.home .hp-about-lede::first-letter { float: left; font-size: 3.6em; line-height: .82; padding: .08em .1em 0 0; color: var(--teal-dark); }
.home .hp-path { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--slate); }
.home .hp-path li { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.home .hp-path .hp-mono { color: var(--teal-dark); }
.home .hp-path b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4375rem; line-height: 1.2; }
.home .hp-path-short { display: none; }
.home .hp-path small { display: block; color: var(--muted); font-size: .9063rem; margin-top: 2px; }
.home .hp-creds { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--slate); }
.home .hp-creds li { padding: 20px 24px 0 0; display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .9688rem; line-height: 1.4; }
.home .hp-creds li::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--teal); margin-top: .4em; }

/* 05 Newsletter */
.home .hp-news { background: var(--ground); border-top: 1px solid var(--border); }
.home .hp-news-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.home .hp-news-lede { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.4375rem); line-height: 1.42; max-width: 30em; color: var(--slate); margin: 0 0 30px; }

.home .hp-form-sheet { max-width: 520px; padding: clamp(20px, 2.6vw, 30px); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .home .hp-hero-grid, .home .hp-hard-grid, .home .hp-about-grid, .home .hp-news-grid { grid-template-columns: minmax(0, 1fr); }
  .home .hp-desk { max-width: 470px; margin: 20px auto 0; }
  .home .hp-photo { left: -5%; }
  .home .hp-q-grid { grid-template-columns: minmax(0, 1fr); }
  .home .hp-q, .home .hp-q + .hp-q { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .home .hp-q:last-child { border-bottom: 0; }
  .home .hp-pull, .home .hp-sec-head, .home .hp-ask-body { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home .hp-pull figcaption { padding-top: 0; }
  .home .hp-ask-body > span { display: none; }
  .home .hp-help { grid-template-columns: minmax(0, 1fr); }
  .home .hp-help article, .home .hp-help article:first-child, .home .hp-help article:last-child { padding: 30px 0 32px; border-right: 0; border-bottom: 1px solid var(--border); }
  .home .hp-help article:last-child { border-bottom: 0; }
  .home .hp-help article { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 22px; }
  .home .hp-help article > * { grid-column: 2; }
  .home .hp-help article > svg { grid-column: 1; grid-row: 1 / span 4; margin: 4px 0 0; }
  .home .hp-help .hp-arrow { justify-self: start; }
  .home .hp-exhibit { max-width: 400px; margin: 10px auto 0; }
  .home .hp-exhibit-cap { text-align: center; margin-left: 0; }
  .home .hp-creds { grid-template-columns: minmax(0, 1fr); }
  .home .hp-creds li { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .home .hp-issue { max-width: 280px; }
  .home .hp-ask::before { right: -300px; opacity: .7; }
  .home .hp-ask::after { display: none; }
}
@media (max-width: 520px) {
  .home .hp-eyebrow { margin-bottom: 20px; }
  .home .hp-btn-row { margin-top: 30px; }
  .home .hp-btn-row .btn { width: 100%; }
  .home .hp-path li { grid-template-columns: 64px minmax(0, 1fr); }
  .home .hp-help article { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; }
  .home .hp-help article > svg { width: 48px; height: 48px; }
  .home .hp-byline { gap: 20px; }
  .home .hp-byline figure { flex-basis: 88px; }
  .home .hp-form-sheet { padding: 18px 16px 20px; }
  /* Desk simplifies: a desk-coloured ground, one clear sheet, the photo, the highlighted line */
  .home .hp-desk { aspect-ratio: 350 / 392; margin-top: 24px; }
  .home .hp-desk::before { content: ""; position: absolute; inset: 6% -6% 2% -6%; background: var(--desk); z-index: 0; }
  .home .hp-desk .hp-sheet { width: 80%; height: 86%; }
  .home .hp-s-a { left: 19%; top: 1%; }
  .home .hp-s-b { left: 9%; top: 5%; }
  .home .hp-fields div { grid-template-columns: 6.6em minmax(0, 1fr); }
  .home .hp-findings { margin-left: 51%; }
  .home .hp-findings .hp-ln:nth-of-type(n+3) { display: none; }
  .home .hp-margin-note { padding-left: 9px; }
  .home .hp-photo { left: -2%; top: 30%; width: 50%; }
  .home .hp-lens { width: 32%; right: -4%; bottom: -7%; }
}

/* Shorter page on phones: capped illustration, three-line career path */
@media (max-width: 600px) {
  .home .hp-path-full { display: none; }
  .home .hp-path-short { display: block; }
  .home .hp-exhibit { max-width: 300px; }
  .home .hp-exhibit .hp-sheet { padding: 42px 18px 14px; }
  .home .hp-exhibit .hp-tree { width: auto; height: 190px; margin: 12px auto 0; }
  .home .hp-exhibit-cap { margin-top: 22px; }
  .home .hp-section { padding-top: 48px; padding-bottom: 48px; }
  .home .hp-section-flush { padding-top: 0; }
  .home .hp-pull { padding: 32px 0 44px; }
  .home .hp-help article, .home .hp-help article:first-child, .home .hp-help article:last-child { padding: 24px 0 26px; }
  .home .hp-hard-list li { padding: 16px 0; }
  .home .hp-issue { max-width: 200px; }
}

/* Nothing stays hidden on paper or in a saved PDF */
/* Testimonials (LinkedIn recommendations) */
.home .hp-voices { padding-top: 0; }
.home .hp-voices-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 64px); }
.home .hp-voice { margin: 0; padding: 28px 0 32px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 18px; }
.home .hp-voice blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.4; color: var(--slate); }
.home .hp-voice blockquote::before { content: "\201C"; }
.home .hp-voice blockquote::after { content: "\201D"; }
.home .hp-voice figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; line-height: 1.4; }
.home .hp-voice figcaption b { font-weight: 600; }
.home .hp-voice figcaption span { color: var(--muted); }
.home .hp-voice-lead { grid-column: 1 / -1; border-top-color: var(--slate); }
.home .hp-voice-lead blockquote { font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.012em; border-left: 3px solid var(--teal); padding-left: clamp(18px, 2vw, 28px); max-width: 30em; }
.home .hp-voices-more { margin-top: 12px; display: inline-flex; }
.home .hp-creds a { color: inherit; text-decoration-color: var(--teal); }
@media (max-width: 700px) {
  .home .hp-voices-grid { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .home .hp-wait { opacity: 1 !important; transform: none !important; }
  .home .hp-wait .hp-hl { background-size: 100% 100% !important; }
}
