/* Brightfield Group — photo components and inner-page blocks. */

/* Facts strip under the hero: plain company facts, never stats */
.facts-strip { background: var(--white); border-block: 1px solid var(--line); }
.facts-strip dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.facts-strip div { padding: 26px 20px; border-left: 1px solid var(--line); }
.facts-strip div:first-child { border-left: 0; padding-left: 0; }
.facts-strip dt { font: 18px/1.2 var(--hand); color: var(--pencil); }
.facts-strip dd { margin-top: 4px; font-size: 18px; font-weight: 700; }

/* Photo story: night block, image + copy */
.photo-story { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); color: #fff; }
.photo-story-image { position: relative; min-height: 420px; }
.photo-story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 104px); }
.photo-story-copy h2 { color: #fff; font-size: clamp(36px, 4.2vw, 58px); letter-spacing: -.04em; }
.photo-story-copy p { margin-top: 18px; color: var(--night-text); max-width: 52ch; }
.photo-story-copy .eyebrow { color: var(--mark); }
.photo-story--flip .photo-story-image { order: 2; }
.image-note { margin-top: 18px; color: var(--night-muted); font-size: 13px; }
.photo-caption { margin-top: 10px; color: var(--pencil); font-size: 13px; }

/* Equipment cards with photos */
.equip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.equip-card { overflow: hidden; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.equip-card:hover { transform: translateY(-4px); border-color: var(--go); }
.equip-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.equip-card div { padding: 20px 22px 24px; }
.equip-card h3 { font-size: 22px; }
.equip-card p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* Split photo hero for inner pages */
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px 64px; align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.split-hero .display-title { font-size: clamp(46px, 6.6vw, 96px); }
.split-hero .section-lead { margin-top: 24px; }
.photo-frame img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--r-media); box-shadow: 0 40px 80px -40px #14202b88; }
.photo-frame.wide img { aspect-ratio: 4 / 3; }
.wide-photo { margin-top: 48px; }
.wide-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-media); }

/* Checklist */
.checklist { margin-top: 24px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; flex: none; width: 26px; height: 26px; margin-top: 1px; border: 2px solid var(--go); border-radius: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 15px no-repeat; }
.checklist small { display: block; color: var(--ink-2); font-weight: 400; font-size: 15.5px; }

/* Fee example table */
.fee-example { padding: clamp(28px, 4vw, 40px); border-radius: var(--r-media); background: var(--paper); }
.section:not(.section--soft) .fee-example { background: var(--white); border: 1px solid var(--line); }
.fee-example h3 { font: 700 26px/1.2 var(--hand); color: var(--go); letter-spacing: 0; }
.fee-example .note { margin-top: 2px; }
.fee-example dl { margin-top: 18px; }
.fee-example div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.fee-example div.total { border-top: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; }
.fee-example dd { font-weight: 600; color: var(--ink); white-space: nowrap; }
.fee-example .total dd { font-size: 20px; font-weight: 800; }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card { padding: clamp(26px, 3vw, 36px); border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.section--soft .feature-card { background: var(--paper); border-color: transparent; }
.feature-card .path-number { display: block; margin-bottom: 10px; }
.feature-card h3 { font-size: 23px; }
.feature-card p { margin-top: 10px; color: var(--ink-2); font-size: 16.5px; }
.feature-card ul { margin-top: 14px; display: grid; gap: 8px; font-size: 16px; }
.feature-card li { display: flex; gap: 10px; align-items: baseline; }
.feature-card li::before, .bullets li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--go); clip-path: var(--star); }
.bullets { display: grid; gap: 10px; margin-top: 18px; }
.bullets li { display: flex; gap: 12px; align-items: baseline; }

/* Included vs not included */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare > div { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-card); border: 1px solid var(--line); background: var(--white); }
.compare > div.no { background: transparent; border-style: dashed; }
.compare h3 { font-size: 22px; }
.compare ul { margin-top: 16px; display: grid; gap: 10px; }
.compare li { display: flex; gap: 12px; align-items: baseline; }
.compare .yes li::before { content: "✓"; color: var(--go); font-weight: 800; }
.compare .no li::before { content: "×"; color: var(--pencil); font-weight: 800; }

/* Callout and two-column copy */
.callout { margin-top: 32px; padding: 22px 26px; border-radius: var(--r-card); background: var(--tint); color: var(--ink); }
.callout strong { font: 700 20px/1.3 var(--hand); color: var(--go); display: block; margin-bottom: 4px; }
.split.align-center { align-items: start; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 26px; margin-bottom: 8px; }
.company-facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.company-facts div:last-child { border-bottom: 1px solid var(--line); }
.company-facts dt { font: 19px/1.3 var(--hand); color: var(--pencil); }
.company-facts dd { font-weight: 600; }

@media (max-width: 1100px) {
  .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-strip dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-strip div:nth-child(4) { border-left: 0; padding-left: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .facts-strip dl { width: calc(100% - 48px); }
  .photo-story, .split-hero, .compare, .feature-grid.two { grid-template-columns: 1fr; }
  .photo-story--flip .photo-story-image { order: 0; }
  .photo-story-image { min-height: 320px; }
  .photo-frame img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .facts-strip dl { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); }
  .facts-strip div { border-left: 0; padding: 18px 0; }
  .equip-grid, .feature-grid { grid-template-columns: 1fr; }
  .wide-photo img { aspect-ratio: 4 / 3; }
  .company-facts div { grid-template-columns: 1fr; gap: 2px; }
}
.nav-contact[aria-current="page"] { background: var(--go); }
.bullets li { display: block; position: relative; padding-left: 21px; }
.bullets li::before { position: absolute; left: 0; top: .55em; }
.feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }

/* Alignment fixes */
.split-hero .display-title { font-size: clamp(44px, 5.4vw, 80px); }
.photo-story-copy .eyebrow { align-self: flex-start; }
.guarantee .spark { margin-top: 0; }
/* Timeline rail: one segment per step, so it never runs past the last step */
.process-step:not(:last-child)::before { content: ""; position: absolute; left: -69px; top: 50px; bottom: -62px; width: 2px; background: var(--line); transition: background-color .3s; }
.process-step:not(:last-child):has(+ .process-step.is-active)::before { background: var(--go); }
@media (max-width: 640px) { .process-step:not(:last-child)::before { left: -45px; top: 34px; } }
/* Five cards: 3 on top, 2 wider below, no gap */
@media (min-width: 1101px) {
  .feature-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feature-grid:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
  .feature-grid:has(> :nth-child(5):last-child) > :nth-child(n+4) { grid-column: span 3; }
}
