/* =========================================================================
 * Michael T. Gibson, P.A. — team-member.css
 * Unique selectors for the attorney bio template (single-team_member.php +
 * page-templates/bio.php). Source: gibson-team-member-toggle.html (reworked
 * 2026-06-08: dark 2-col hero + sun-aware skyline, trust strip, sticky
 * consult form, firm Case Results + Reviews, meet-the-rest-of-the-team).
 *
 * Shared chrome (nav, footer, popup, global map, theme toggle, .mtg-form base,
 * design tokens) lives in global.css / forms.css and is NOT reduplicated here.
 *
 * The bottom CTA band is namespaced under .tm-cta because global.css already
 * defines a differently-styled .cta-btn (gradient pill).
 * ========================================================================= */

/* ── ATTORNEY HERO (dark, 2-column + sun-aware skyline) ── */
.attorney-hero { position:relative; overflow:hidden; background:var(--deep-purple); padding:150px 0 0; }
/* Sun-aware skyline backdrop — day photo in light mode, night photo in dark mode
   (toggle-driven). Uses the SAME uploads images as the homepage hero (home.css). */
.attorney-hero-sky { position:absolute; inset:0; z-index:0; background-size:cover; background-position:center 28%;
  background-image:url("/wp-content/uploads/2026/06/orlando-skyline-during-daytime.webp"); }
[data-theme="dark"] .attorney-hero-sky { background-image:url("/wp-content/uploads/2026/06/orlando-skyline-during-nightttime.webp"); }
/* Frosted-glass blur + directional dark scrim: opaque under the text (left),
   fading right so the skyline shows behind and around the portrait. */
.attorney-hero-bg { position:absolute; inset:0; z-index:1; -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  background:
    radial-gradient(ellipse 60% 50% at 72% 38%, rgba(244,100,33,0.10) 0%, transparent 70%),
    linear-gradient(100deg, rgba(11,22,40,0.93) 0%, rgba(11,22,40,0.80) 42%, rgba(11,22,40,0.42) 72%, rgba(11,22,40,0.28) 100%),
    linear-gradient(0deg, rgba(11,22,40,0.55) 0%, transparent 35%); }
[data-theme="dark"] .attorney-hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 72% 38%, rgba(244,100,33,0.10) 0%, transparent 70%),
    linear-gradient(100deg, rgba(8,16,31,0.94) 0%, rgba(8,16,31,0.82) 42%, rgba(8,16,31,0.46) 72%, rgba(8,16,31,0.32) 100%),
    linear-gradient(0deg, rgba(8,16,31,0.55) 0%, transparent 35%); }
.attorney-hero-grain { position:absolute; inset:0; z-index:2; opacity:0.035; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.attorney-hero-inner { position:relative; z-index:3; max-width:1200px; margin:0 auto; padding:0 48px;
  display:grid; grid-template-columns:1fr 420px; gap:64px; align-items:end; }
.ah-text { padding-bottom:72px; }
.ah-eyebrow { font-family:var(--body); font-size:14px; font-weight:600; letter-spacing:5px; text-transform:uppercase; color:#fff; margin:0 0 24px; line-height:1; }
.ah-name { font-family:var(--display); font-size:clamp(3rem,6vw,5rem); font-weight:700; line-height:1; color:#fff; margin-bottom:24px; }
.ah-tagline { font-family:var(--body); font-size:1.24rem; font-weight:normal; font-style:normal; color:var(--smoke); line-height:1.65; max-width:none; margin:0 0 44px; }
.ah-ctas { display:flex; gap:16px; flex-wrap:wrap; }
.ah-btn { display:inline-flex; align-items:center; gap:10px; text-decoration:none; font-family:var(--body); font-size:12px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; padding:17px 30px; transition:transform .3s var(--ease), background .3s, box-shadow .3s, border-color .3s, color .3s; }
.ah-btn svg { width:16px; height:16px; flex-shrink:0; }
.ah-btn-primary { background:var(--fire); color:#fff; }
.ah-btn-primary:hover { background:var(--fire-deep); transform:translateY(-2px); box-shadow:0 10px 30px rgba(244,100,33,0.35); }
.ah-btn-ghost { background:transparent; color:#fff; border:1px solid rgba(255,255,255,0.28); }
.ah-btn-ghost:hover { border-color:var(--fire); color:var(--fire); transform:translateY(-2px); }
.ah-photo { position:relative; align-self:end; }
.ah-photo-frame { position:relative; }
/* Transparent cutout headshot floats directly on the hero — no frame, no crop. */
.ah-photo-frame img { width:100%; height:auto; display:block; }
/* Boxed fallback only for the neutral placeholder (members without a photo). */
.ah-photo-frame svg { width:100%; aspect-ratio:4/5; object-fit:cover; display:block; background:var(--parchment); border:1px solid rgba(255,255,255,0.08); }

/* ── TRUST STRIP (dark, attached under hero) ── */
.trust-strip { position:relative; z-index:2; background:var(--navy-surface); border-top:2px solid var(--fire); }
.trust-grid { max-width:1200px; margin:0 auto; padding:34px 48px; display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.trust-item { padding-left:26px; border-left:1px solid rgba(255,255,255,0.09); }
.trust-item:first-child { border-left:none; padding-left:0; }
.trust-label { font-size:10px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--fire); margin-bottom:10px; }
.trust-value { font-family:var(--display); font-size:1.5rem; font-weight:700; color:#fff; line-height:1.15; }
.trust-sub { font-size:0.82rem; color:var(--smoke); margin-top:4px; }

/* ── ABOUT SECTION (bio + sticky consult form) ── */
.about-section { background:var(--chalk-warm); padding:100px 0 110px; position:relative; overflow:hidden; }
.about-section::before { content:''; position:absolute; inset:0; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='0.6' fill='%23000' opacity='0.03'/%3E%3C/svg%3E"); }
.about-grid { position:relative; max-width:1200px; margin:0 auto; padding:0 48px; display:grid; grid-template-columns:1fr 400px; gap:64px; align-items:start; }
.profile-bio { position:relative; }

/* Bio blocks (reused from prior design) */
.bio-heading {
  font-family: var(--display); font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--ink); line-height: 1.1;
  padding-left: 20px; border-left: 4px solid var(--fire);
  margin-bottom: 20px; margin-top: 48px;
}
.bio-heading:first-of-type { margin-top: 0; }
.bio-text { font-size: 1rem; color: var(--body-text); line-height: 1.85; max-width: 580px; }
.bio-text p + p { margin-top: 16px; }
.bio-pull {
  font-family: var(--display); font-size: 1.25rem; font-weight: 500; font-style: italic;
  color: var(--ink); line-height: 1.5; padding: 28px 0 28px 24px;
  border-left: 3px solid var(--fire); margin: 36px 0; max-width: 540px;
}
.bio-pull strong { color: var(--fire); font-weight: 700; font-style: normal; }

/* Sticky consultation form card */
.consult-card { position:sticky; top:110px; background:var(--navy); border:1px solid rgba(244,100,33,0.22); padding:34px 32px; }
.consult-card h3 { font-family:var(--display); font-size:1.7rem; font-weight:700; color:#fff; line-height:1.1; margin-bottom:8px; }
.consult-card .consult-sub { font-size:0.9rem; color:var(--smoke); line-height:1.55; margin-bottom:22px; }
.consult-contact { display:flex; flex-direction:column; gap:12px; padding-bottom:22px; margin-bottom:22px; border-bottom:1px solid rgba(255,255,255,0.1); }
.consult-contact a { display:inline-flex; align-items:center; gap:12px; color:var(--fire); text-decoration:none; font-size:1.8rem; font-weight:700; letter-spacing:-0.3px; line-height:1; white-space:nowrap; transition:color .2s; }
.consult-contact a:hover { color:var(--fire-deep); }
.consult-contact svg { width:22px; height:22px; color:var(--fire); flex-shrink:0; }
/* Dark-card overrides for both the static .mtg-form fallback and a Gravity Form */
.consult-card .mtg-form-label,
.consult-card .gfield_label { color:var(--smoke-light); }
.consult-card .mtg-form-input, .consult-card .mtg-form-select, .consult-card .mtg-form-textarea,
.consult-card .gform_wrapper input[type="text"], .consult-card .gform_wrapper input[type="email"],
.consult-card .gform_wrapper input[type="tel"], .consult-card .gform_wrapper select,
.consult-card .gform_wrapper textarea {
  background:rgba(255,255,255,0.06); border-color:rgba(255,255,255,0.14); color:#fff; }
.consult-card .mtg-form-input::placeholder, .consult-card .mtg-form-textarea::placeholder,
.consult-card .gform_wrapper ::placeholder { color:rgba(255,255,255,0.4); }
.consult-card .mtg-form-input:focus, .consult-card .mtg-form-select:focus, .consult-card .mtg-form-textarea:focus { background:rgba(255,255,255,0.09); border-color:var(--fire); }
.consult-card .mtg-form-footnote { color:var(--smoke-light); }

/* ── EDUCATION & CREDENTIALS (reused) ── */
.credentials-section { background: var(--chalk); padding: 100px 0; }
.credentials-grid { max-width: 1200px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cred-heading { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: 28px; line-height: 1.1; }
.cred-list { list-style: none; }
.cred-list li { position: relative; padding-left: 20px; font-size: 0.95rem; color: var(--body-text); line-height: 1.75; margin-bottom: 12px; }
.cred-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--fire); }
.cred-list li strong { color: var(--ink); font-weight: 600; display: block; }
.cred-list li span { font-size: 0.85rem; color: var(--softer-text); }
.cred-sub { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--fire); margin-top: 36px; margin-bottom: 16px; }
.cred-sub:first-of-type { margin-top: 0; }

/* ── CASE RESULTS (parity with gibson-case-results-toggle .results grid) ── */
.cases-section { background: var(--navy); padding: 100px 0; position: relative; overflow: hidden; }
.cases-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(244,100,33,0.04) 0%, transparent 70%); }
.cases-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
.cases-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--fire); text-align: center; margin-bottom: 12px; }
.cases-title { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #fff; text-align: center; margin-bottom: 56px; line-height: 1.08; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.04); }
.case-card { background: var(--navy-90); padding: 52px 32px; text-align: center; transition: background 0.4s; text-decoration: none; display: block; }
.case-card:hover { background: var(--navy-80); }
.case-amount { font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; color: var(--fire); line-height: 1; margin-bottom: 8px; }
.case-type { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--smoke-light); margin-bottom: 16px; }
.case-desc { font-size: 0.88rem; color: var(--smoke); line-height: 1.7; max-width: 280px; margin: 0 auto; }
.case-card .case-link { display: inline-block; margin-top: 18px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--fire); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.case-card:hover .case-link { opacity: 1; transform: translateY(0); }

/* ── TESTIMONIALS / REVIEWS (dark) ── */
.testimonials-section { background:var(--navy); padding:100px 0; position:relative; overflow:hidden; }
.testimonials-section::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse 50% 50% at 50% 30%, rgba(244,100,33,0.04) 0%, transparent 70%); }
.testi-inner { position:relative; z-index:1; max-width:1200px; margin:0 auto; padding:0 48px; }
.testi-eyebrow { font-size:11px; font-weight:600; letter-spacing:5px; text-transform:uppercase; color:var(--fire); text-align:center; margin-bottom:12px; }
.testi-title { font-family:var(--display); font-size:clamp(2rem,4vw,3rem); font-weight:700; color:#fff; text-align:center; margin-bottom:56px; line-height:1.08; }
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.testi-card { background:var(--navy-surface); border:1px solid rgba(255,255,255,0.06); padding:36px 32px; }
.testi-stars { display:flex; gap:3px; color:var(--fire); margin-bottom:18px; }
.testi-stars svg { width:18px; height:18px; }
.testi-quote { font-size:0.95rem; color:var(--smoke); line-height:1.8; margin-bottom:22px; }
.testi-author { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:#fff; }

/* ── MEET THE REST OF THE TEAM ── */
.rest-team-section { background:var(--chalk); padding:100px 0; }
.rest-team-head { text-align:center; max-width:600px; margin:0 auto 56px; padding:0 24px; }
.rest-team-eyebrow { font-size:11px; font-weight:600; letter-spacing:5px; text-transform:uppercase; color:var(--fire); margin-bottom:14px; }
.rest-team-title { font-family:var(--display); font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:700; color:var(--ink); line-height:1.1; }
.rest-team-grid { max-width:1100px; margin:0 auto; padding:0 48px; display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.rest-team-cta { text-align:center; margin-top:48px; }
.rest-person { text-decoration:none; display:block; transition:transform .3s var(--ease); }
.rest-person:hover { transform:translateY(-4px); }
.rest-person-photo { aspect-ratio:4/5; overflow:hidden; background:var(--parchment); position:relative; margin-bottom:18px; }
.rest-person-photo img, .rest-person-photo svg { width:100%; height:100%; object-fit:cover; display:block; }
.rest-person-photo::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:3px; background:var(--fire); }
.rest-person-name { font-family:var(--display); font-size:1.3rem; font-weight:700; color:var(--ink); line-height:1.2; }
.rest-person-role { font-size:10px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--fire); margin-top:6px; }
.rest-person-link { display:inline-flex; align-items:center; gap:8px; font-size:11px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--muted-text); margin-top:14px; transition:gap .3s, color .3s; }
.rest-person:hover .rest-person-link { color:var(--fire); gap:12px; }

/* ── BOTTOM CTA (namespaced — global.css already defines .cta-btn) ── */
.tm-cta { padding:120px 0; background:linear-gradient(135deg, var(--navy) 0%, var(--deep-purple) 50%, var(--fire-deep) 100%); text-align:center; position:relative; overflow:hidden; }
.tm-cta::before { content:''; position:absolute; inset:0; background:linear-gradient(160deg,rgba(255,255,255,0.08) 0%,transparent 40%); }
.tm-cta-inner { position:relative; z-index:1; }
.tm-cta h2 { font-family:var(--display); font-size:clamp(2.5rem,5vw,4rem); font-weight:700; color:#fff; line-height:1.08; margin-bottom:20px; }
.tm-cta p { font-size:1.05rem; color:rgba(255,255,255,0.85); max-width:500px; margin:0 auto 36px; line-height:1.7; }
.tm-cta-btn { display:inline-block; background:var(--navy); color:#fff; text-decoration:none; font-size:13px; font-weight:600; letter-spacing:3px; text-transform:uppercase; padding:18px 48px; transition:transform .3s,box-shadow .3s; }
.tm-cta-btn:hover { transform:translateY(-3px); box-shadow:0 12px 40px rgba(0,0,0,0.3); }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .attorney-hero-inner { grid-template-columns:1fr 340px; gap:40px; padding:0 36px; }
  .about-grid { grid-template-columns:1fr 340px; gap:40px; padding:0 36px; }
  .trust-grid { padding:32px 36px; gap:24px; }
  .credentials-grid { gap:48px; padding:0 36px; }
  .cases-inner, .testi-inner, .rest-team-grid { padding:0 36px; }
}
@media (max-width:860px) {
  .attorney-hero { padding:120px 0 0; }
  .attorney-hero-inner { grid-template-columns:1fr; gap:0; }
  .ah-text { padding-bottom:36px; }
  .ah-photo { max-width:360px; margin:0 auto; }
  .trust-grid { grid-template-columns:repeat(2,1fr); gap:28px 24px; }
  .trust-item:nth-child(3) { border-left:none; padding-left:0; }
  .about-grid { grid-template-columns:1fr; gap:48px; }
  .consult-card { position:static; max-width:520px; }
  .cases-grid { grid-template-columns:repeat(2,1fr); }
  .credentials-grid { grid-template-columns:1fr; gap:40px; }
  .testi-grid { grid-template-columns:1fr; gap:20px; }
  .rest-team-grid { grid-template-columns:1fr; gap:32px; max-width:380px; }
}
@media (max-width:768px) {
  .attorney-hero-sky { display:none; }
  .attorney-hero-bg { -webkit-backdrop-filter:none; backdrop-filter:none;
    background:radial-gradient(ellipse 60% 50% at 70% 40%, rgba(244,100,33,0.07) 0%, transparent 70%),linear-gradient(160deg, var(--deep-purple) 0%, var(--navy) 100%); }
  .attorney-hero-inner, .about-grid { padding:0 24px; }
  .trust-grid { padding:28px 24px; }
  .cases-inner, .testi-inner, .rest-team-grid { padding:0 24px; }
  .about-section, .testimonials-section, .rest-team-section, .cases-section, .credentials-section { padding:64px 0; }
  .cases-grid { grid-template-columns:1fr; }
  .ah-ctas .ah-btn { flex:1; justify-content:center; }
  .tm-cta { padding:80px 0; }
}
