/* Homepage — shared palette and type, with equal room for Build and Capture. */
.homepage { --home-line: color-mix(in srgb, var(--text-light) 20%, transparent); }
.homepage .home-container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.homepage .home-section { padding-block: clamp(64px, 8vw, 112px); }
.homepage .home-eyebrow { color: var(--brass); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.homepage .home-hero h1 { font-size: clamp(24px, 2.9vw, 38px); white-space: normal; }
.homepage .home-hero h1 span { display: block; }
.homepage .home-hero-heading { min-width: 0; }
.homepage .home-hero-heading .home-eyebrow { color: #f5f0e5; font-size: 9px; margin-bottom: 12px; }
.homepage .hero-glass-strip { gap: 24px; flex-wrap: wrap; }
.homepage .home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 30px; }
.homepage .btn { min-height: 48px; padding: 14px 22px; font-size: 12px; text-align: center; white-space: normal; line-height: 1.5; }
.homepage .home-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-size: 12px; font-weight: 600; line-height: 1.5; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.homepage .home-text-link:hover { color: var(--text-light); }
.homepage .home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.homepage .home-section-heading h2 { max-width: 720px; margin-top: 10px; font-size: clamp(27px, 3.2vw, 42px); font-weight: 500; line-height: 1.18; letter-spacing: -.04em; }
.homepage .home-film { border-top: 1px solid var(--home-line); padding-top: 26px; }
.homepage .home-film-heading { margin-bottom: 22px; }
.homepage .home-film-heading h2 { font-size: clamp(25px, 2.8vw, 36px); }
.homepage .home-film-description { max-width: 360px; font-size: 13px; }
.homepage .home-film-stage { position: relative; background: #201e18; }
.homepage .home-film-launch { position: relative; display: block; color: #fff; isolation: isolate; }
.homepage .home-film-launch[hidden] { display: none; }
.homepage .home-film-launch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(10, 10, 9, .68)); z-index: 0; pointer-events: none; }
.homepage .home-film-launch img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.homepage .home-film-play { position: absolute; inset: auto auto 30px 30px; z-index: 1; display: flex; align-items: center; gap: 14px; min-height: 48px; padding: 4px 18px 4px 4px; background: rgba(22, 22, 18, .78); border: 1px solid rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; }
.homepage .home-film-play svg { width: 40px; height: 40px; padding: 9px; fill: currentColor; }
.homepage .home-film-duration { position: absolute; right: 30px; bottom: 43px; z-index: 1; color: #fff; font-size: 12px; font-weight: 500; }
.homepage .home-film-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 8px; }
.homepage .home-film-caption p { font-size: 12px; }
.homepage [data-film-slot]:empty { display: none; }
.homepage .home-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.homepage .home-proof-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--home-line); background: var(--bg-card); }
.homepage .home-proof-image { overflow: hidden; }
.homepage .home-proof-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.homepage .home-proof-body { padding: 28px; display: flex; flex: 1; flex-direction: column; }
.homepage .home-proof-body h3 { font-size: clamp(23px, 2.3vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.25; margin: 12px 0; }
.homepage .home-proof-body > p:not(.home-eyebrow) { font-size: 14px; margin-bottom: 18px; }
.homepage .home-proof-links { display: flex; flex-wrap: wrap; gap: 4px 26px; margin-top: auto; }
.homepage .home-all-work { margin-top: 22px; }
.homepage .home-services { background: var(--bg-card); border-block: 1px solid var(--home-line); }
.homepage .home-service-card { padding: 32px; border: 1px solid var(--home-line); display: flex; flex-direction: column; background: var(--bg); }
.homepage .home-service-number { color: var(--teal); text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .1em; margin-bottom: 22px; }
.homepage .home-service-card h3 { font-size: clamp(24px, 2.5vw, 33px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin-bottom: 16px; }
.homepage .home-service-card > p:not(.home-service-number) { font-size: 14px; }
.homepage .home-service-details { border-top: 1px solid var(--home-line); margin: 28px 0; }
.homepage .home-service-details > div { padding: 17px 0; border-bottom: 1px solid var(--home-line); display: grid; grid-template-columns: 85px 1fr; gap: 16px; }
.homepage .home-service-details dt { color: var(--text-light); font-size: 11px; font-weight: 600; line-height: 1.7; }
.homepage .home-service-details dd { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
.homepage .home-service-actions { margin-top: auto; display: flex; align-items: flex-start; flex-direction: column; gap: 12px; }
.homepage .home-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.homepage .home-audience-card { display: flex; flex-direction: column; padding-top: 20px; border-top: 1px solid var(--home-line); }
.homepage .home-audience-index { font-size: 12px; color: var(--brass); margin-bottom: 28px; }
.homepage .home-audience-card h3 { font-size: 23px; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; margin-bottom: 16px; }
.homepage .home-audience-card p { font-size: 14px; margin-bottom: 16px; }
.homepage .home-audience-card a { margin-top: auto; }
.homepage .home-process { background: color-mix(in srgb, var(--bg), var(--teal) 5%); border-top: 1px solid var(--home-line); }
.homepage .home-process-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0; margin: 40px 0 64px; }
.homepage .home-process-steps li { border-top: 1px solid var(--home-line); padding-top: 22px; }
.homepage .home-process-index { color: var(--teal); font-size: 13px; font-weight: 600; }
.homepage .home-process-steps h3 { font-size: 18px; font-weight: 600; margin: 16px 0 12px; }
.homepage .home-process-steps p { font-size: 13px; }
.homepage .home-closing { border-top: 1px solid var(--home-line); padding-top: 44px; display: flex; justify-content: space-between; gap: 32px; }
.homepage .home-closing h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.homepage .home-closing p { max-width: 560px; font-size: 14px; margin-top: 14px; }
.homepage .home-closing .home-actions { flex-direction: column; align-items: flex-start; gap: 8px; flex-shrink: 0; }
.homepage a:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
.homepage .home-film-launch:focus-visible { outline-color: var(--teal); outline-offset: 5px; }
/* Keep the original glass image-and-strip composition on smaller screens too. */
@media (max-width: 1024px), (max-width: 932px) and (max-height: 500px) {
  .homepage .hero-glass-pill { height: clamp(480px, 72vh, 600px); display: flex; background: transparent; }
  .homepage .hero-glass-bg { position: absolute; height: 100%; max-height: none; aspect-ratio: auto; }
  .homepage .hero-glass-overlay { display: block; }
  .homepage .hero-glass-strip { position: absolute; background: rgba(10, 10, 10, .35); }
  .homepage .home-hero h1 { color: #14D3B0; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
  .homepage .hero-cta .btn-outline-dark { color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; }
}
@media (max-width: 900px) {
  .homepage .home-container { width: calc(100% - 48px); }
  .homepage .home-pair, .homepage .home-trio, .homepage .home-process-steps { gap: 24px; }
  .homepage .home-proof-body, .homepage .home-service-card { padding: 24px; }
  .homepage .home-service-details > div { grid-template-columns: 1fr; gap: 5px; }
  .homepage .home-audience-card h3 { font-size: 21px; }
  .homepage .home-closing { flex-direction: column; }
  .homepage .home-closing .home-actions { flex-direction: row; align-items: center; gap: 16px 28px; }
}
@media (max-width: 700px) {
  .homepage .home-container { width: calc(100% - 40px); }
  .homepage .home-hero h1 { font-size: clamp(24px, 6.2vw, 36px); }
  .homepage .home-eyebrow { font-size: 10px; letter-spacing: .09em; }
  .homepage .home-section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .homepage .home-film-description { max-width: 100%; }
  .homepage .home-film-play { left: 14px; bottom: 14px; gap: 4px; font-size: 11px; padding-right: 12px; }
  .homepage .home-film-duration { right: 12px; top: 12px; bottom: auto; font-size: 11px; background: rgba(22, 22, 18, .78); padding: 5px 8px; }
  .homepage .home-film-caption { flex-wrap: wrap; gap: 0 16px; }
  .homepage .home-pair, .homepage .home-trio, .homepage .home-process-steps { grid-template-columns: 1fr; }
  .homepage .home-proof-body, .homepage .home-service-card { padding: 24px; }
  .homepage .home-service-details > div { grid-template-columns: 85px 1fr; gap: 16px; }
  .homepage .home-audience-index { margin-bottom: 18px; }
  .homepage .home-audience-card { padding-bottom: 10px; }
  .homepage .home-process-steps { gap: 24px; margin-bottom: 44px; }
  .homepage .home-process-steps li { position: relative; padding-left: 40px; }
  .homepage .home-process-index { position: absolute; left: 0; top: 23px; }
  .homepage .home-process-steps h3 { margin-top: 0; }
}
@media (max-width: 360px) {
  .homepage .home-service-card, .homepage .home-proof-body { padding: 20px; }
  .homepage .home-service-details > div { grid-template-columns: 1fr; gap: 5px; }
  .homepage .home-film-play { left: 10px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage *, .homepage *::before, .homepage *::after { animation: none !important; transition: none !important; }
}

/* Four audiences share the existing service-led layout. */
.homepage .home-trio { grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:700px) { .homepage .home-trio { grid-template-columns:1fr; } }

/* A fixed introduction, with four ways to use Build and Capture. */
.homepage .hero-scene { position:absolute; inset:0; opacity:0; transition:opacity 1.2s ease; pointer-events:none; }
.homepage .hero-scene.is-active { opacity:1; }
.homepage .hero-scene .hero-glass-bg { height:100%; object-fit:cover; }
.homepage .hero-scene-caption { position:absolute; top:104px; left:32px; max-width:calc(100% - 64px); margin:0; padding:9px 13px; color:#fff; background:rgba(16,22,20,.76); border:1px solid rgba(255,255,255,.22); backdrop-filter:blur(10px); font-size:11px; line-height:1.5; letter-spacing:.025em; }
.homepage .hero-scene-controls { position:absolute; z-index:3; top:28px; left:32px; right:32px; display:flex; align-items:flex-start; gap:12px; }
.homepage .hero-scene-controls[hidden] { display:none; }
.homepage .hero-scene-tabs { display:flex; padding:4px; background:rgba(16,22,20,.76); border:1px solid rgba(255,255,255,.3); border-radius:4px; backdrop-filter:blur(16px); }
.homepage .hero-scene-tabs button, .homepage .hero-rotation-toggle { min-height:44px; border:0; border-radius:2px; color:#fff; font-weight:500; line-height:1.4; font-family:inherit; font-size:11px; cursor:pointer; }
.homepage .hero-scene-tabs button { padding:10px 18px; background:transparent; position:relative; }
.homepage .hero-scene-tabs button[aria-selected="true"] { background:var(--teal); color:#fff; }
.homepage .hero-scene-tabs button:hover:not([aria-selected="true"]) { background:rgba(255,255,255,.12); }
.homepage .hero-rotation-toggle { width:44px; flex-shrink:0; margin-left:auto; background:rgba(16,22,20,.76); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(16px); }
.homepage .hero-rotation-toggle [hidden] { display:none; }
.homepage .hero-scene-controls button:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.homepage .hero-scene.is-active img { animation:hero-drift 9s ease-out both; }
.homepage [data-hero-rotation][data-running="false"] .hero-scene img { animation-play-state:paused; }
@keyframes hero-drift { from { transform:scale(1); } to { transform:scale(1.025); } }
@media(max-width:700px) {
  .homepage .hero-scene-controls { top:16px; left:16px; right:16px; gap:8px; }
  .homepage .hero-scene-tabs { flex:1; display:grid; grid-template-columns:1fr 1fr; }
  .homepage .hero-scene-tabs button { padding:9px 7px; font-size:10px; }
  .homepage .hero-scene-caption { top:130px; left:16px; max-width:calc(100% - 32px); font-size:10px; }
}

.homepage .hero-scene:not(.is-active) .hero-scene-caption { visibility:hidden; }
