/* q9-pages.css -- About + Contact (B4, quality round 9 Oct 2026).
   Loaded after site.css on about.html and contact.html only. Every class is prefixed q9p- except the
   few site.css blocks it re-lays out inside a q9p- wrapper (leadership, about-grid), so no other page changes. */

/* Page-top pictures: own photography at full strength, not the 42% wash used for stock comps. */
.q9p-hero.page-hero.is-covered { min-height: min(78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.q9p-hero.page-hero.is-covered .q9p-hero-pic { opacity: 1; display: block; }
.q9p-hero .q9p-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.q9p-hero.page-hero.is-covered::after { background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.35) 45%, rgba(0,0,0,.86)); }
.q9p-hero.q9p-hero-short { min-height: min(56vh, 540px); }
.q9p-hero .q9p-hero-kicker { margin: 0 0 18px; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.q9p-hero .page-deck p { max-width: 58ch; }

/* Story: picture + Taazzle's own words. */
.q9p-story { padding: clamp(64px, 8vw, 128px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.q9p-story picture, .q9p-story img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.q9p-story-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); }
.q9p-story-pair figure { margin: 0; }
.q9p-story .q9p-story-pair picture, .q9p-story .q9p-story-pair img { aspect-ratio: 4 / 5; object-position: 50% 20%; }
.q9p-story-pair figcaption { margin-top: 10px; display: grid; gap: 2px; font-size: 15px; line-height: 1.3; }
.q9p-story-pair figcaption span { font-size: 13px; opacity: .7; }
.q9p-story-copy h2 { margin: 14px 0 22px; font-family: var(--display); font-size: clamp(34px, 4.2vw, 62px); font-weight: 500; letter-spacing: -.01em; line-height: 1; text-wrap: balance; }
.q9p-story-copy p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; max-width: 60ch; }
.q9p-pillars { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 2px solid var(--black); }
.q9p-pillars li { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.q9p-pillars strong { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding-top: 4px; }
.q9p-pillars span { font-size: 16px; line-height: 1.5; }

/* Numbers strip (computed counts only -- see B4.md). */
.q9p-numbers { background: var(--black); color: var(--white); padding: clamp(44px, 5vw, 72px) var(--gutter); }
.q9p-numbers ul { margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; max-width: 1200px; }
.q9p-numbers li { border: 1px solid rgba(255,255,255,.22); border-top: 3px solid var(--yellow); padding: 28px 16px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; min-height: 100%; } /* 10 Oct follow-up 12: numbers share one top line even when a label wraps */
.q9p-numbers strong { display: block; font-family: var(--display); font-size: clamp(40px, 4.6vw, 72px); font-weight: 500; letter-spacing: -.015em; line-height: 1; }
.q9p-numbers span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.78); }

/* Founders: two equal cards side by side. */
.q9p-founders .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.q9p-founders .leader { grid-template-columns: 1fr; gap: 22px; align-items: start; }
.q9p-founders .leader-photo { width: 100%; max-width: 440px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; background: #e9e7e3; }
.q9p-founders .leader-copy h3 { font-size: clamp(28px, 2.8vw, 40px); }

/* Capabilities: five groups, each linking to its service pages. */
.q9p-capabilities { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--black); }
.q9p-cap { grid-column: span 2; }
.q9p-cap:nth-child(n+4) { grid-column: span 3; }
.q9p-cap:nth-child(4) { padding-left: 0; border-left: 0; }
.q9p-cap { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.q9p-cap + .q9p-cap { padding-left: 28px; border-left: 1px solid var(--line); }
.q9p-cap-num { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.q9p-cap h3 { margin: 10px 0 10px; font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; }
.q9p-cap > p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.q9p-cap ul { margin: 0; padding: 0; list-style: none; }
.q9p-cap li a { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.q9p-cap li a strong { font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.25; }
.q9p-cap li a small { grid-column: 1; font-size: 14px; line-height: 1.4; color: var(--muted); }
.q9p-cap li a i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; transition: transform var(--dur-fast) var(--ease-expo-out); }
.q9p-cap li a:hover strong, .q9p-cap li a:focus-visible strong { text-decoration: underline; text-underline-offset: 3px; }
.q9p-cap li a:hover i { transform: translateX(4px); }
.q9p-cap-all { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: inherit; }

/* Buttons and the closing band. */
.q9p-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.q9p-btn { min-height: 54px; display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; border: 2px solid currentColor; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.q9p-btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.q9p-btn:active { transform: scale(.97); }
.q9p-btn-light { color: var(--white); }
.q9p-btn-light:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.q9p-btn-whatsapp { background: #1f8f4e; border-color: #1f8f4e; color: var(--white); }
.q9p-btn-whatsapp:hover { background: #17733e; border-color: #17733e; }
.q9p-btn-orange { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.q9p-btn-orange:hover { background: var(--white); border-color: var(--white); }
.q9p-btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.q9p-btn-dark:hover { background: var(--yellow); color: var(--black); }
.q9p-cta { background: var(--black); color: var(--white); padding: clamp(64px, 8vw, 120px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: end; }
.q9p-cta h2 { margin: 12px 0 14px; font-family: var(--display); font-size: clamp(40px, 5.6vw, 84px); font-weight: 500; letter-spacing: -.015em; line-height: 1; text-wrap: balance; }
.q9p-cta p { margin: 0; font-size: 18px; color: rgba(255,255,255,.8); max-width: 52ch; }
.q9p-cta .eyebrow { color: var(--yellow); }

/* Contact: three big action cards. */
.q9p-quick { padding: clamp(48px, 6vw, 88px) var(--gutter) 0; }
.q9p-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.q9p-action { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 28px; background: var(--surface); border: 2px solid var(--black); color: var(--black); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.q9p-action svg { width: 34px; height: 34px; fill: currentColor; margin-bottom: auto; }
.q9p-action-label { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.q9p-action strong { font-family: var(--display); font-size: clamp(20px, 1.9vw, 28px); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; overflow-wrap: anywhere; }
.q9p-action small { font-size: 14px; color: var(--muted); }
.q9p-action:hover, .q9p-action:focus-visible { background: var(--yellow); transform: translateY(-3px); }
.q9p-action-whatsapp { background: #1f8f4e; border-color: #1f8f4e; color: var(--white); }
.q9p-action-whatsapp small { color: rgba(255,255,255,.82); }
.q9p-action-whatsapp:hover, .q9p-action-whatsapp:focus-visible { background: #17733e; }
.q9p-action-more { margin: 18px 0 0; font-size: 15px; }
.q9p-action-more a { color: inherit; }

.q9p-form-wrap { padding-top: clamp(56px, 7vw, 104px); }
/* Item 26: WhatsApp brief beside "Prepare enquiry" */
.q9p-submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.q9p-submit-row .q9p-wa-brief:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.q9p-form-points { margin: 22px 0 0; padding: 0; list-style: none; border-top: 2px solid var(--black); }
.q9p-form-points li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.q9p-form-points li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 12px; background: var(--yellow); vertical-align: middle; }

.q9p-office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.q9p-office .direct-contact { margin-top: 0; }
.q9p-office-map { margin-top: 24px; }

/* FAQ accordion (native details/summary; works without JS). */
.q9p-faq { border-top: 2px solid var(--black); max-width: 1100px; }
.q9p-faq details { border-bottom: 1px solid var(--line); }
.q9p-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--display); font-size: clamp(19px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; }
.q9p-faq summary::-webkit-details-marker { display: none; }
.q9p-faq summary::after { content: "+"; font-size: 1.3em; line-height: 1; transition: transform .2s ease; }
.q9p-faq details[open] summary::after { transform: rotate(45deg); }
.q9p-faq details p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; max-width: 70ch; }

@media (max-width: 1100px) {
  .q9p-numbers ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
}
@media (max-width: 900px) {
  .q9p-story, .q9p-office, .q9p-cta { grid-template-columns: 1fr; }
  .q9p-actions { grid-template-columns: 1fr; }
  .q9p-action { min-height: 0; }
  .q9p-capabilities { grid-template-columns: 1fr; }
  .q9p-cap, .q9p-cap:nth-child(n+4) { grid-column: auto; }
  .q9p-cap + .q9p-cap { padding-left: 0; border-left: 0; }
  .q9p-cap { padding-right: 0; }
}
@media (max-width: 640px) {
  .q9p-hero.page-hero.is-covered { min-height: 64vh; }
  .q9p-hero.q9p-hero-short { min-height: 46vh; }
  .q9p-hero .q9p-hero-img { opacity: .58; }
  .q9p-founders .leadership-grid { grid-template-columns: 1fr; }
  .q9p-numbers ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .q9p-numbers li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .q9p-pillars li { grid-template-columns: 1fr; gap: 6px; }
  .q9p-btn-row .q9p-btn { flex: 1 1 100%; justify-content: center; }
  .q9p-submit-row > * { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .q9p-action, .q9p-btn, .q9p-cap li a i { transition: none; }
  .q9p-action:hover { transform: none; }
}
