/* =========================================================================
   HUMAN BLOCKS (branch human-home): photo-led sections, fewer boxes, and
   copy in Kaden's voice. Loaded after styles.css and blocks.css.
   ========================================================================= */

/* Photo with a soft corner radius, reused by several blocks */
.photo { position: relative; border-radius: 22px; overflow: hidden; background: var(--hairline); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Floating text bubble pinned on a photo */
.float-msg { position: absolute; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(35,32,28,0.22); max-width: 270px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.float-msg .msg-meta { display: block; margin-bottom: 4px; }
.float-msg .stamp { margin-top: 8px; }

/* ---------- BLOCK: h-hero (copy + tall photo) ---------- */
.h-hero { padding: 56px 0 64px; background: var(--cream); }
.h-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.h-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 18px; }
.h-hero h1 em { font-style: normal; color: var(--accent); }
.h-hero-sub { font-size: 18.5px; color: var(--muted); margin: 0 0 26px; max-width: 520px; }
.h-facts { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }
.h-facts b { color: var(--ink); font-weight: 700; }
.h-hero .photo { aspect-ratio: 4 / 4.4; }
.h-hero .photo img { object-position: 22% 50%; }
.h-hero .float-msg.one { right: 18px; top: 22px; }
.h-hero .float-msg.two { right: 18px; bottom: 22px; }
@media (max-width: 899px) {
  .h-hero { padding: 28px 0 40px; }
  .h-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .h-hero .photo { aspect-ratio: 4 / 3.8; }
  .h-hero-sub { font-size: 17px; }
  .float-msg { max-width: 200px; font-size: 12.5px; padding: 9px 11px; }
  .h-hero .float-msg.one { right: 10px; top: 10px; }
  .h-hero .float-msg.two { right: 10px; bottom: 10px; }
}
@media (max-width: 560px) { .h-hero .b-cta-row .btn { width: 100%; } }

/* ---------- BLOCK: h-story (big photo + first-person text, no box) ---------- */
.h-story { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.h-story .photo { aspect-ratio: 5 / 4; }
.h-story h2 { font-size: clamp(28px, 3.8vw, 42px); line-height: 1.1; margin-bottom: 18px; }
.h-story p { font-size: 18px; color: var(--muted); margin: 0 0 14px; }
.h-story p strong { color: var(--ink); }
.h-story.flip { grid-template-columns: 0.95fr 1.05fr; }
.h-story.flip .photo { order: 2; }
@media (max-width: 860px) {
  .h-story, .h-story.flip { grid-template-columns: 1fr; gap: 22px; }
  .h-story.flip .photo { order: 0; }
  .h-story p { font-size: 16.5px; }
}

/* ---------- BLOCK: h-list (services as a plain list) ---------- */
.h-list { list-style: none; padding: 0; margin: 8px 0 0; border-top: 1px solid var(--hairline); }
.h-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 15px 0; border-bottom: 1px solid var(--hairline); transition: padding 0.15s; }
.h-list a:hover { padding-left: 6px; }
.h-list a:hover .h-list-t { color: var(--accent); }
.h-list-t { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 19px; color: var(--ink); }
.h-list-d { grid-column: 1; color: var(--muted); font-size: 15px; }
.h-list-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent); font-size: 20px; }

/* ---------- BLOCK: h-band (full-bleed photo with a line over it) ---------- */
.h-band { position: relative; padding: 0; min-height: 480px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.h-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,32,28,0) 20%, rgba(35,32,28,0.88) 100%); z-index: 1; }
.h-band .wrap { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 56px; width: 100%; }
.h-band blockquote { margin: 0 0 22px; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.02em; max-width: 760px; }
@media (max-width: 760px) {
  .h-band { min-height: 420px; }
  .h-band .wrap { padding-bottom: 36px; }
  .h-band .btn { width: 100%; }
}

/* ---------- BLOCK: h-letter (note from Kaden) ---------- */
.h-letter { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; max-width: 1000px; margin: 0 auto; }
.h-letter-photo { padding-top: 12px; }
.h-letter .photo { aspect-ratio: 4 / 5; transform: rotate(-2deg); box-shadow: 0 20px 40px rgba(35,32,28,0.15); border: 8px solid #fff; border-radius: 6px; }
.h-letter .photo img { object-position: 50% 30%; }
.h-letter-cap { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.h-letter h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.h-letter p { font-size: 17.5px; margin: 0 0 14px; color: #47403A; }
.h-letter ol { margin: 6px 0 18px; padding-left: 22px; font-size: 17px; color: #47403A; }
.h-letter ol li { margin-bottom: 8px; padding-left: 4px; }
.h-letter ol li::marker { color: var(--accent); font-weight: 800; }
.h-sign { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 22px; color: var(--ink) !important; margin-top: 22px !important; line-height: 1.2; }
.h-sign span { display: block; font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .h-letter { grid-template-columns: 1fr; gap: 24px; }
  .h-letter .photo { max-width: 220px; margin: 0 auto; }
  .h-letter p, .h-letter ol { font-size: 16.5px; }
}

/* ---------- BLOCK: h-who (photo pair + inline industry links) ---------- */
.h-who { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.h-who-photos { display: grid; grid-template-columns: 0.8fr 1fr; gap: 14px; align-items: end; }
.h-who-photos .photo:first-child { aspect-ratio: 3 / 4.2; }
.h-who-photos .photo:last-child { aspect-ratio: 4 / 4.6; margin-bottom: 40px; }
.h-who h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 14px; }
.h-who p { font-size: 17.5px; color: var(--muted); margin: 0 0 14px; }
.h-inline-links a { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent-tint); transition: border-color 0.15s; }
.h-inline-links a:hover { border-color: var(--accent); }
@media (max-width: 860px) {
  .h-who { grid-template-columns: 1fr; gap: 24px; }
  .h-who-photos .photo:last-child { margin-bottom: 24px; }
  .h-who p { font-size: 16.5px; }
}

/* ---------- FAQ, centered and plain ---------- */
.h-faq { max-width: 760px; margin: 0 auto; }
.h-faq .faq-item summary { padding: 20px 0; font-size: 17px; }
.h-faq-more { margin-top: 22px; color: var(--muted); }
.h-faq-more a { color: var(--accent); font-weight: 700; }

/* Contact block: Kaden avatar on the dark side */
.h-avatar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.h-avatar img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 2px solid rgba(255,255,255,0.2); }
.h-avatar b { display: block; font-size: 15px; }
.h-avatar span { font-size: 13px; color: rgba(255,255,255,0.6); }

.h-link { font-weight: 700; font-size: 15px; color: var(--ink); border-bottom: 2px solid var(--accent-tint); padding: 4px 0; margin-left: 8px; }
.h-link:hover { border-color: var(--accent); }
@media (max-width: 560px) { .h-link { margin: 4px auto 0; } }

/* Even line breaks on short headings, and the story block buttons */
.balance { text-wrap: balance; }
.h-story .b-cta-row { margin-top: 22px; }
@media (max-width: 560px) { .h-story .b-cta-row .btn { flex: 1 1 100%; } }

/* ---------- BLOCK: h-result (one real, anonymized result) ---------- */
.h-result { padding: 56px 0; background: var(--white); }
.h-result-grid { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.h-result-nums { display: flex; align-items: center; gap: 16px; font-family: 'GeistNumerals', 'Outfit', sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.h-result-from { font-size: clamp(30px, 4vw, 44px); color: var(--muted); }
.h-result-arrow { font-size: 28px; color: var(--accent); }
.h-result-to { font-size: clamp(48px, 7vw, 76px); color: var(--accent); }
.h-result-cap { margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.h-result h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 10px; }
.h-result p { color: var(--muted); margin: 0; max-width: 540px; }
.h-result .eyebrow { margin-bottom: 12px; }
@media (max-width: 899px) {
  .h-result { padding: 40px 0; }
  .h-result-grid { grid-template-columns: 1fr; gap: 20px; }
}
