/* ============================================================
   Custom engineering page
   ============================================================ */

/* ---------------- Hero ---------------- */
.ce-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--site-header-h) + clamp(28px, 5vw, 72px)) 0 clamp(56px, 7vw, 112px);
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(242, 163, 58, .07), transparent 70%),
    linear-gradient(180deg, #0d0d0f 0%, var(--bg) 100%);
}
.ce-hero__glow {
  position: absolute; z-index: -1; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .05), transparent);
  pointer-events: none;
}
.ce-hero__grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1000px) { .ce-hero__grid { grid-template-columns: minmax(0, 5.2fr) minmax(0, 6.8fr); } }
.ce-hero__copy { gap: 22px; }
.ce-hero__copy .breadcrumb { margin-bottom: 4px; }
.ce-hero__title { max-width: none; }
.ce-hero__line { display: block; }
.ce-hero__line--accent { color: var(--accent); }
.ce-hero__made { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-3); }
.ce-hero__made .icon { color: var(--accent); }

.ce-hero__figure { margin: 0; perspective: 1400px; }
.ce-hero__frame {
  --ratio: 16 / 9;
  border-radius: var(--r-xl);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .9s var(--ease-out);
  will-change: transform;
}
.ce-hero__frame img { object-fit: cover; }
.ce-hero__caption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--fs-sm); color: var(--text-3); }

@media (prefers-reduced-motion: no-preference) {
  .ce-hero__copy > * { animation: ce-in 1s var(--ease-out) both; }
  .ce-hero__copy > :nth-child(2) { animation-delay: .06s; }
  .ce-hero__copy > :nth-child(3) { animation-delay: .14s; }
  .ce-hero__copy > :nth-child(4) { animation-delay: .24s; }
  .ce-hero__copy > :nth-child(5) { animation-delay: .32s; }
  .ce-hero__copy > :nth-child(6) { animation-delay: .4s; }
  .ce-hero__figure { animation: ce-fig 1.4s var(--ease-out) .15s both; }
}
@keyframes ce-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes ce-fig { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .ce-hero__copy .page-hero__actions .btn { flex: 1 1 220px; }
}

/* ---------------- What to ask about ---------------- */
.ask__grid {
  display: grid; gap: var(--grid-gap); padding: 0; margin: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}
.ask__item {
  position: relative; display: grid; gap: 14px; align-content: start; overflow: hidden;
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: var(--r-xl); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-1), rgba(17, 17, 19, .4));
  transition: border-color var(--t-med), transform var(--t-med) var(--ease-out);
}
.ask__item:hover { border-color: var(--line-2); }
.ask__item p { color: var(--text-2); font-size: var(--fs-small); }
.ask__item .icon-feature__icon { margin-bottom: 18px; }
.ask__num {
  position: absolute; top: clamp(16px, 2vw, 26px); right: clamp(20px, 2.2vw, 32px);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 2.2rem + 2.4vw, 5rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .11);
}
.ask__notice { margin-top: var(--grid-gap); }

/* ---------------- Made / honesty ---------------- */
.made__frame { --ratio: 4 / 3; }
.made__frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.made__body { gap: 20px; }
.made__body > p { color: var(--text-2); }
.made__body > .eyebrow--accent { color: var(--accent-text); }

/* ---------------- Process ---------------- */
.process-ce { padding-top: var(--space-section); }

/* ---------------- FAQ ---------------- */
.ce-faq__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .ce-faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .ce-faq__head { position: sticky; top: calc(var(--site-header-h) + 32px); }
}
.ce-faq__head { display: grid; gap: 18px; justify-items: start; }

/* ---------------- CTA ---------------- */
.ce-cta .cta-band__bg img { object-position: 50% 60%; }
.ce-cta .cta-band__note a { color: var(--text-2); }
.ce-cta .cta-band__note a:hover { color: var(--text); }
