/* Digital Workshop / Blueprint — homepage composition. */
.hero { --scene-overhang: 250px; --scene-offset: 90px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }
.hero-heading { grid-area: 1 / 1; position: relative; z-index: 1; align-self: center; padding: 72px 0 56px; }
/* The scene includes the artwork and construction lines. Its lower navy strip is
   clipped here; the live CTA occupies its own grid row below the sculpture. */
.hero-visual { grid-area: 1 / 2; align-self: end; position: relative; overflow: hidden; width: calc(100% + var(--scene-overhang)); margin-left: calc(-1 * var(--scene-offset)); aspect-ratio: 1228 / 1052; pointer-events: none; mask-image: linear-gradient(to right, transparent, #000 12%); }
.hero-art { display: block; width: 100%; max-width: none; height: auto; }
.hero .eyebrow { margin-bottom: 24px; }
.hero .display { max-width: 15ch; font-size: clamp(56px, 6.2vw, 84px); line-height: 1.08; letter-spacing: -.045em; }
.hero .display span { color: #4c8dff; text-decoration: underline; text-underline-offset: 12px; text-decoration-thickness: 5px; }
.hero-bottom { grid-column: 1 / -1; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 70fr) minmax(0, 30fr); align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
/* Continue only the empty grid strip from the same scene beneath the artwork.
   1052 / 1281 is the sculpture's baseline in the source image. */
.hero-bottom::before { content: ""; position: absolute; z-index: -1; top: 0; left: calc(62% - var(--scene-offset)); width: calc(38% + var(--scene-overhang)); aspect-ratio: 1228 / 1281; background: url(blueprint-scene.webp) top / 100% auto no-repeat; transform: translateY(-82.1233%); mask-image: linear-gradient(to right, transparent, #000 12%); pointer-events: none; }
.hero .lead { max-width: 43ch; padding-right: 32px; color: var(--ink-muted); }
.hero-actions { display: flex; align-items: center; justify-content: flex-end; min-height: 64px; border-left: 1px solid #5285ed; padding-left: 32px; }
.hero-actions .btn { width: 100%; max-width: 280px; justify-content: space-between; gap: 28px; }

.section { padding: 72px 0; }
.section-head { margin-bottom: 32px; }
.services .section-head .h1 { max-width: 24ch; }
.services-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.service { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 24px; padding: 52px 32px 32px; background: linear-gradient(120deg, #142d4b, #10243e); border: 1px solid #355d8b; border-radius: var(--radius-lg); }
.service::after { content: ""; position: absolute; z-index: -1; top: 0; right: 0; width: 40%; height: 100%; background: linear-gradient(45deg, transparent 60%, #2563eb1a 60%); pointer-events: none; }
.service-number { position: absolute; top: 18px; left: 32px; font-size: 13px; color: var(--ink-muted); letter-spacing: .08em; }
.service-number::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 20px; }
.service-icon { width: 64px; height: 64px; color: #9bc4ff; }
.service .h2 { font-size: 25px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 12px; }
.service p { color: var(--ink-muted); margin: 0; }
.service-featured { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 32px; min-height: 490px; padding: 72px 40px 40px; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-color: #5285ed; }
.service-featured::after { width: 70%; background: linear-gradient(135deg, transparent 40%, #ffffff0a 40%, #ffffff0a 65%, transparent 65%); }
.service-featured .service-icon { width: 80px; height: 80px; }
.service-featured .service-number { left: 40px; }
.service-featured p, .service-featured .service-number, .service-featured .service-icon { color: #ffffff; }

.purpose { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.purpose::after { content: ""; position: absolute; width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 50%; top: -100px; right: -100px; pointer-events: none; }
.purpose .h1 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.04em; margin-bottom: 16px; }
.purpose .lead { color: var(--ink-muted); }
.purpose-detail { color: var(--ink-muted); margin: 20px 0 0; max-width: 72ch; }

.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; top: 26px; left: 26px; right: 0; height: 1px; background: #5285ed; }
.steps li { position: relative; }
.steps .num { position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 24px; border: 1px solid #75adff; border-radius: 50%; background: var(--surface-subtle); color: var(--accent); font-size: 15px; }
.steps .h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--ink-muted); }

@media (max-width: 960px) {
  .hero { --scene-overhang: 160px; --scene-offset: 60px; }
  .hero-heading { padding-top: 56px; padding-bottom: 40px; }
  .hero .display { font-size: clamp(36px, 6.4vw, 56px); }
  .hero-bottom { grid-template-columns: minmax(0, 62fr) minmax(0, 38fr); }
  .hero-actions { padding-left: 20px; }
  .hero-actions .btn { padding: 0 20px; gap: 16px; }
  .service { padding-left: 24px; padding-right: 24px; gap: 16px; grid-template-columns: 48px 1fr; }
  .service-icon { width: 48px; height: 48px; }
  .service .h2 { font-size: 22px; }
  .service-featured { padding-left: 32px; padding-right: 32px; }
  .steps { gap: 24px; }
}
@media (max-width: 640px) {
  .hero .container { grid-template-columns: minmax(0, 1fr); }
  .hero-heading { padding: 48px 0 28px; }
  .hero-visual { grid-area: 2 / 1; width: calc(100% + 32px); margin-left: -16px; mask-image: none; }
  .hero-break { display: none; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .12em; }
  .hero .display { font-size: clamp(36px, 9.5vw, 56px); max-width: 17ch; line-height: 1.13; }
  .hero .display span { text-underline-offset: 7px; text-decoration-thickness: 3px; }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px 0 40px; }
  .hero-bottom::before { display: none; }
  .hero .lead { font-size: 18px; line-height: 28px; padding-right: 0; }
  .hero-actions { min-height: 0; border-left: 0; padding-left: 0; }
  .hero-actions .btn { max-width: none; }
  .section { padding: 48px 0; }
  .services .h1 { font-size: 28px; line-height: 36px; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .service { grid-template-columns: 48px minmax(0, 1fr); padding: 56px 24px 28px; }
  .service-featured { grid-row: auto; min-height: 0; gap: 24px; }
  .service-featured .service-icon { width: 64px; height: 64px; }
  .service-number, .service-featured .service-number { left: 24px; }
  .purpose .h1 { font-size: 36px; line-height: 1.2; }
  .purpose .lead { font-size: 18px; line-height: 28px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps::before { top: 26px; left: 25px; bottom: 0; width: 1px; height: auto; right: auto; }
  .steps li { padding-left: 76px; min-height: 52px; }
  .steps .num { position: absolute; top: 0; left: 0; margin: 0; }
  .steps .h3 { line-height: 26px; margin-bottom: 8px; }
  .band .container { padding-top: 40px; padding-bottom: 40px; }
  .band p { font-size: 26px; line-height: 34px; }
}
