/* Homepage first screen in the Oct 2026 brand (deck title slide): terracotta field,
   Poppins Medium headline, PT Serif italic subline, sunlit-wall image. Rest of the site unchanged. */
.hero-deck {
  --hd-terra: #a35138; --hd-ivory: #ebe7dc;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 100vh; min-height: 100svh; background: var(--hd-terra) !important; color: var(--hd-ivory);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}
.hd-text { display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h, 70px) + 48px) clamp(20px, 5vw, 72px) 72px; }
.hd-kicker { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(235,231,220,.8); }
.hd-title { font-weight: 500; font-size: clamp(44px, 5.3vw, 80px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; max-width: 14ch; color: var(--hd-ivory); font-family: inherit; }
.hd-sub { font-family: 'PT Serif', Georgia, 'Times New Roman', serif; font-style: italic; font-size: clamp(19px, 2vw, 24px); line-height: 1.4; margin: 0 0 18px; }
.hd-body { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.6; color: rgba(235,231,220,.85); max-width: 46ch; margin: 0 0 30px; }
.hd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hd-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 13px 24px; transition: background .15s, border-color .15s; }
.hd-btn-ivory { background: var(--hd-ivory); color: var(--hd-terra); }
.hd-btn-ivory:hover { background: #fff; }
.hd-btn-ghost { border: 1px solid rgba(235,231,220,.55); color: var(--hd-ivory); }
.hd-btn-ghost:hover { border-color: var(--hd-ivory); background: rgba(235,231,220,.08); }
.hd-btn:focus-visible { outline: 2px solid var(--hd-ivory); outline-offset: 3px; }
.hd-art { position: relative; background: url('/brand/site/hero-wall.webp') center 40% / cover no-repeat, #b96b3a; min-height: 320px; isolation: isolate; }
/* Demo window floats across the seam between the terracotta field and the wall, lit by the same warm light. */
.hd-art::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 85% 0%, rgba(255, 214, 170, .18), transparent 60%), linear-gradient(90deg, rgba(163, 81, 56, .55) 0%, rgba(163, 81, 56, 0) 28%); }
.hd-demo { position: absolute; z-index: 1; left: 0; right: 0; margin: 0 auto; top: var(--hd-demo-top, 38%); width: min(calc(100% - 2 * clamp(28px, 4.5vw, 72px)), 720px); }
.hd-demo-window { position: relative; border-radius: 12px; overflow: hidden; line-height: 0;
  box-shadow: 0 2px 0 rgba(255, 240, 225, .25) inset, 0 40px 90px -20px rgba(25, 21, 16, .65), 0 18px 40px -18px rgba(90, 36, 20, .55), 0 0 0 1px rgba(235, 231, 220, .22); }
/* Glass: the wall's light shows through the canvas; enough white stays behind the text to keep the result legible. */
.hd-demo-window { background: rgba(250, 246, 238, .42); -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1); }
.hd-demo-window video { display: block; width: 100%; height: auto; aspect-ratio: 960 / 499; background: transparent; opacity: .9; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hd-demo-window { background: #faf8f3; } .hd-demo-window video { opacity: 1; } }
.hd-demo-window::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255, 226, 196, .16) 0%, rgba(255, 226, 196, 0) 38%), linear-gradient(0deg, rgba(163, 81, 56, .08), rgba(163, 81, 56, 0) 40%); }
.hd-demo figcaption { margin-top: 14px; font-size: 12px; letter-spacing: .02em; color: rgba(235, 231, 220, .85); text-shadow: 0 1px 8px rgba(25, 21, 16, .45); line-height: 1.4; }
@media (prefers-reduced-motion: no-preference) {
  .hd-demo { animation: hdRise 1.1s cubic-bezier(.2, .7, .2, 1) .25s both; }
  @keyframes hdRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 820px) {
  .hero-deck { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hd-text { padding-top: calc(var(--header-h, 70px) + 36px); padding-bottom: 44px; }
  .hd-art { min-height: 0; padding: 28px 16px 22px; }
  .hd-art::before { background: radial-gradient(120% 70% at 85% 0%, rgba(255, 214, 170, .18), transparent 60%), linear-gradient(180deg, rgba(163, 81, 56, .6) 0%, rgba(163, 81, 56, 0) 30%); }
  .hd-demo { position: relative; left: auto; right: auto; top: auto; width: 100%; transform: none; animation: none; }
  .hd-actions a { flex: 1 1 auto; }
}

/* Decisions · Workforce: one requisition, three parties. Second tab row under the domain switch. */
.party-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 24px; padding: 14px 0 16px; border-bottom: 1px solid var(--line-light, rgba(255,255,255,.14)); }
.party-row[hidden] { display: none; }
.party-caption { margin: 0; font-size: 13px; color: rgba(255,255,255,.62); white-space: nowrap; }
.party-caption em { font-family: 'PT Serif', Georgia, serif; font-style: italic; color: #e09a7c; }
.party-switch { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.party-button {
  appearance: none; display: inline-flex; align-items: baseline; gap: 8px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: transparent; color: rgba(255,255,255,.7);
  border-radius: 999px; padding: 8px 16px; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.party-button span { font: 9px var(--mono, monospace); color: rgba(255,255,255,.35); }
.party-button strong { font-size: 14px; font-weight: 600; }
.party-button small { font-size: 11.5px; color: rgba(255,255,255,.45); }
.party-button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.party-button.is-active { background: #a35138; border-color: #a35138; color: #fff; }
.party-button.is-active span, .party-button.is-active small { color: rgba(255,255,255,.8); }
.party-button:focus-visible { outline: 2px solid #ebe7dc; outline-offset: 2px; }
.party-ask { grid-column: 1 / -1; margin: 0; font-family: 'PT Serif', Georgia, serif; font-style: italic; font-size: 16px; color: rgba(255,255,255,.82); }
.role-handoff { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.7); max-width: 62ch; }
.role-handoff span { font: 9px var(--mono, monospace); text-transform: uppercase; letter-spacing: .1em; color: #e09a7c; margin-right: 6px; }
@media (max-width: 760px) {
  .party-row { grid-template-columns: minmax(0, 1fr); }
  .party-caption { white-space: normal; }
  .party-switch { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .party-switch::-webkit-scrollbar { display: none; }
  .party-button { flex: none; padding: 7px 13px; }
  .party-button small { display: none; }
}
/* The section fits one screen on large displays: give the party row its own grid row. */
@media (min-width: 900px) and (min-height: 720px) {
  .solutions > .section-shell { grid-template-rows: auto auto auto minmax(0, 1fr); }
  .solutions > .section-shell:has(.party-row[hidden]) { grid-template-rows: auto auto minmax(0, 1fr); }
  .party-row { padding: 10px 0 12px; gap: 6px 24px; }
  .party-ask { font-size: 14.5px; }
  .solutions-head .display { font-size: clamp(48px, 4.8vw, 80px); }
}
