/* ===== NXP Consulting: homepage (Option A "Studio") ===== */
[hidden] { display: none !important; }
body { background: #d9dcdf; padding: 14px; }
.frame { background: #fff; border-radius: 22px; overflow: hidden; }

/* ---------- HERO ---------- */
.hero { position: relative; background: linear-gradient(180deg, #e7e9ec 0%, #d7dade 100%); min-height: 760px; overflow: hidden; }
.nav { position: relative; z-index: 6; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.03em; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: #0c0c0d; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.links { display: flex; gap: 30px; font-size: 13px; }
.links a { opacity: .65; transition: opacity .2s; } .links a:hover, .links a.on { opacity: 1; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 14px; font-size: 11px; }
.stamp { border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.3; }
.stamp b { display: block; font-weight: 500; font-size: 10px; opacity: .55; }
.menu-btn { display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 8px; padding: 9px 14px; font-size: 11px; letter-spacing: .06em; }
.menu-panel { position: absolute; z-index: 7; top: 70px; right: 32px; width: 240px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.8); box-shadow: 0 20px 50px rgba(0,0,0,.12); display: none; }
.menu-panel.open { display: block; }
.menu-panel a { display: block; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; letter-spacing: -.02em; }
.menu-panel a:hover { background: var(--soft); }

.hero-copy { position: relative; z-index: 4; padding: 70px 32px 0; max-width: 620px; }
.kicker { font-size: 12px; border-left: 1px solid #0c0c0d; padding-left: 8px; margin-bottom: 22px; }
.hero h1 { margin-bottom: 26px; }
.hero h1 .grey { color: #9a9ea4; }
.proof { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-bottom: 34px; }
.proof i { font-style: normal; color: #b85f2c; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* Centre reel: a tall phone-like frame (showreel slot) */
.reel { position: absolute; z-index: 2; left: 50%; bottom: 70px; transform: translateX(-28%);
  width: 300px; aspect-ratio: 9/16; border-radius: 34px; padding: 8px; background: var(--chrome);
  box-shadow: 0 40px 90px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.7); }
.reel .ph-video, .reel video { width: 100%; height: 100%; border-radius: 27px; object-fit: cover; }
.reel .rec { position: absolute; top: 22px; left: 22px; display: flex; gap: 6px; align-items: center; color: #fff; font-size: 10px; letter-spacing: .08em; z-index: 3; }
.reel .rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e2593a; }

.float { position: absolute; z-index: 4; right: 32px; top: 120px; width: 300px; display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  padding: 12px; border-radius: 22px; background: rgba(255,255,255,.45); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.6); }
.float .thumb { aspect-ratio: 1; border-radius: 14px; background: #0c0c0d; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; letter-spacing: -.04em; }
.float p { font-size: 18px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.float .ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.float .bar { height: 2px; width: 50px; background: rgba(12,12,13,.25); border-radius: 2px; }
.float .bar i { display: block; height: 100%; width: 40%; background: #0c0c0d; border-radius: 2px; transition: width .5s ease; }
.float .dots { display: flex; gap: 6px; }
.float .dots button { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.8); display: grid; place-items: center; font-size: 11px; }

.platforms { position: absolute; z-index: 4; right: 32px; top: 330px; text-align: right; }
.platforms h4 { font-size: 12px; font-weight: 500; margin-bottom: 10px; }
.platforms ul { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 22px; font-size: 12px; opacity: .65; }

.giant { position: absolute; z-index: 1; left: 0; right: 0; bottom: 34px; text-align: center; white-space: nowrap;
  font-size: clamp(8rem, 26vw, 24rem); font-weight: 600; letter-spacing: -.07em; line-height: .78;
  background: linear-gradient(180deg, rgba(255,255,255,1) 10%, rgba(255,255,255,.15) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-bar { position: absolute; z-index: 4; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 99px; background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.7); backdrop-filter: blur(14px); font-size: 12px; }
.hero-bar span { padding: 6px 12px; border-radius: 99px; }
.hero-bar span:first-child, .hero-bar a { background: #fff; padding: 6px 12px; border-radius: 99px; }

/* ---------- MOVING BANNER ---------- */
.ticker { border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; width: max-content; animation: tick 26s linear infinite; }
.ticker-track span { display: flex; align-items: center; gap: 24px; padding-right: 24px; white-space: nowrap;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.ticker-track span:nth-child(even) { color: #b8bcc1; }
.ticker-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- ABOUT / STATEMENT ---------- */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; padding-top: 110px; padding-bottom: 70px; }
.globe { position: relative; min-height: 260px; }
.globe svg { position: absolute; left: -40px; top: -30px; width: 360px; opacity: .16; }
.globe .tagchip { position: relative; }
.globe .note { position: absolute; bottom: 10px; display: flex; gap: 10px; align-items: center; font-size: 11px; line-height: 1.3; max-width: 190px; }
.globe .note::before { content: "◎"; font-size: 18px; }
.statement { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }
.statement .grey { color: #a3a7ad; }
.social { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--line); margin-top: 46px; padding-top: 14px; }
.social small { display: block; font-size: 11px; opacity: .55; margin-bottom: 10px; }
.icons { display: flex; gap: 8px; }
.icons a { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 600; }

/* ---------- PILL ROW ---------- */
.pills { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 680px; margin-inline: auto; padding-top: 10px; padding-bottom: 80px; }
.pills div { height: 58px; border-radius: 99px; display: grid; place-items: center; font-size: 1.15rem; font-weight: 500; letter-spacing: -.04em; margin-left: -6px; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.pills div:hover { transform: translateY(-3px); }
.pills .a { background: #f1f2f4; margin-left: 0; } .pills .b { background: var(--accent); color: #f6d9c3; }
.pills .c { background: #0c0c0d; color: #fff; font-size: 1.4rem; } .pills .d { background: #dfe2e6; color: #b5b9be; }

/* ---------- WORK ---------- */
.work-head { text-align: center; margin-bottom: 40px; }
.work-head .h-l { margin-top: 14px; }
#work { padding-bottom: 40px; }

/* ---------- PIPELINE: calendar-style columns ---------- */
.pipeline { padding-top: 120px; padding-bottom: 60px; }
.pipe-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps div { position: relative; padding: 20px 18px 30px; border-right: 1px solid var(--line); min-height: 280px; display: flex; flex-direction: column; transition: background .35s ease; }
.steps div:first-child { padding-left: 0; }
.steps div:last-child { border-right: 0; }
.steps span { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.steps span::after { content: "↗"; opacity: 0; transition: opacity .3s, transform .3s; }
.steps h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); font-weight: 500; letter-spacing: -.04em; margin: auto 0 8px; }
.steps p { font-size: 13px; color: var(--muted); }
.steps div:hover { background: #f5f6f7; }
.steps div:hover span::after { opacity: 1; transform: translate(2px, -2px); }
.steps div::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.steps div:first-child::before { left: 0; }
.steps div:hover::before { transform: scaleX(1); }

/* ---------- PACKAGES ---------- */
.packages { padding-top: 80px; padding-bottom: 120px; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pkg { border-radius: 22px; padding: 26px; background: #f3f4f6; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; transition: transform .35s ease; }
.pkg:hover { transform: translateY(-6px); }
.pkg h3 { font-size: 1.9rem; font-weight: 500; letter-spacing: -.045em; }
.pkg ul { list-style: none; font-size: 13px; color: var(--muted); }
.pkg li { padding: 7px 0; border-top: 1px solid var(--line); }
.pkg .tier { font-size: 12px; opacity: .55; margin-bottom: 8px; }
.pkg .pick { align-self: flex-start; }
.pkg.feat { background: #0c0c0d; color: #fff; } .pkg.feat ul { color: rgba(255,255,255,.6); } .pkg.feat li { border-color: rgba(255,255,255,.12); }
.pkg.feat .pill-dark { background: #fff; color: #000; } .pkg.feat .pill-dark .arrow { background: #000; color: #fff; }

/* ---------- CONTACT (dark card + form) ---------- */
.cta { margin: 0 14px 14px; border-radius: 26px; background: #0c0c0d; color: #fff; padding: 80px 40px; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -140px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: var(--accent); filter: blur(100px); opacity: .4; pointer-events: none; }
.cta .inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; max-width: var(--max); margin: 0 auto; }
.cta .grey { color: #74787e; }
.cta h2 { font-size: clamp(2.6rem, 5.2vw, 4.8rem); }
.cta .lead { color: rgba(255,255,255,.65); font-size: 15px; max-width: 440px; margin: 26px 0 34px; }
.cta .details { list-style: none; border-top: 1px solid rgba(255,255,255,.12); max-width: 440px; }
.cta .details li { display: grid; grid-template-columns: 100px 1fr; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.cta .details span { color: rgba(255,255,255,.45); font-size: 12px; }
.cta .details a:hover { text-decoration: underline; }

.lead-form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 28px; backdrop-filter: blur(10px); }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05);
  color: #fff; font: inherit; font-size: 14px; transition: border-color .2s, background .2s; }
.field select { appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: #000; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.3); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #d8834a; background-color: rgba(255,255,255,.08); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e88a7a; }
.error { color: #f0a090; font-size: 12px; min-height: 1em; display: block; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.submit { width: 100%; justify-content: space-between; height: 52px; background: #fff; color: #000; padding-left: 22px; margin-top: 6px; }
.submit .arrow { background: #000; color: #fff; }
.submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-status { margin-top: 12px; font-size: 13px; text-align: center; }
.form-status.fail { color: #f0a090; }
.form-note { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.45); text-align: center; }
.form-note a { text-decoration: underline; }
.form-success { text-align: center; padding: 50px 10px; }
.form-success .check { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--accent); font-size: 24px; }
.form-success h3 { font-size: 1.8rem; font-weight: 500; letter-spacing: -.04em; margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,.6); font-size: 14px; }

footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 32px; font-size: 12px; color: var(--muted); }
footer a:hover { color: var(--ink); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps div:nth-child(3) { border-right: 0; }
  .steps div:nth-child(4) { padding-left: 0; }
  .steps div:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  body { padding: 8px; }
  .links, .stamp, .platforms, .float { display: none; }
  .nav { grid-template-columns: 1fr auto; padding: 18px 20px; }
  .menu-panel { right: 20px; top: 64px; }
  .hero { min-height: 0; padding-bottom: 90px; }
  .hero-copy { padding: 40px 20px 0; }
  .reel { position: relative; left: auto; bottom: auto; transform: none; width: 240px; margin: 44px auto 0; }
  .giant { bottom: 70px; font-size: 42vw; }
  .hero-bar span:nth-child(2) { display: none; }
  .about, .pipe-head, .cta .inner { grid-template-columns: 1fr; gap: 40px; }
  .globe { min-height: 180px; }
  .pills { padding-bottom: 60px; } .pills div { height: 44px; font-size: .95rem; margin-left: -4px; } .pills .a { margin-left: 0; } .pills .c { font-size: 1.1rem; }
  .pkgs { grid-template-columns: 1fr; }
  .cta { padding: 60px 20px; margin: 0 8px 8px; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .steps div { min-height: 0; padding: 20px 0 22px !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps div:last-child { border-bottom: 0; }
  .steps h3 { margin-top: 28px; }
  .lead-form { padding: 20px; }
  .lead-form .row { grid-template-columns: 1fr; gap: 0; }
  .cta .details li { grid-template-columns: 86px 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
