/* Laptop portfolio section (template-parts/portfolio-laptops.php). Used on the Web Design service page.
   The new homepage loads the same rules from home-new.css. */
.hn-sec { --hn-navy: #111f3e; --hn-body: #4a5672; --hn-soft: #f4f6fa; --hn-line: #e3e8f0; --hn-or: #ea580c; --hn-or2: #f97316; }
.hn-sec { padding-block: clamp(72px, 9vw, 120px); background: #fff; }
.hn-sec--tint { background: var(--hn-soft); }
.hn-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.hn-head h2, .hn-offer__copy h2, .hn-faq__intro h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.025em; color: var(--hn-navy); }
.hn-head h2 span, .hn-offer__copy h2 span, .hn-faq__intro h2 span { color: var(--hn-or); }
.hn-head > p:not(.hn-label) { margin: 20px auto 0; max-width: 640px; font-size: 1.125rem; line-height: 1.7; color: var(--hn-body); }
.hn-head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; text-align: left; }
.hn-head--split > p { margin: 0 !important; }
.hn-laptop { position: relative; width: 100%; }
.hn-laptop__screen { padding: 3.2% 3.2% 0; border-radius: 18px 18px 0 0; background: #0d1426; box-shadow: inset 0 0 0 2px #2a3350; }
.hn-laptop__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px 4px 0 0; background: #fff; }
.hn-laptop__view img { display: block; width: 100%; height: auto; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hn-laptop:hover .hn-laptop__view img { transform: translateY(calc(-100% + var(--hn-vh, 300px))); transition: transform 40s cubic-bezier(.3,0,.7,1); }
.hn-laptop__base { position: relative; height: 0; padding-bottom: 4%; margin: 0 -7%; border-radius: 0 0 22px 22px / 0 0 60% 60%; background: linear-gradient(#e7eaf1, #b9c0cf); box-shadow: 0 30px 40px -20px rgba(10,20,45,.5); }
.hn-laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 40%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #a7aebe; }
.hn-work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 56px; }
.hn-work__card { --hn-vh: 330px; }
.hn-work__art { display: block; padding: 40px 48px 36px; margin-bottom: 28px; border-radius: 26px; background: var(--hn-soft); }
.hn-work__card:nth-child(4n+2) .hn-work__art, .hn-work__card:nth-child(4n+3) .hn-work__art { background: #fdf1e7; }
.hn-work__type { margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--hn-or); }
.hn-work__card h3 { margin: 0 0 10px; font-size: 1.625rem; color: var(--hn-navy); }
.hn-work__card > p:not(.hn-work__type) { margin: 0 0 16px; color: var(--hn-body); line-height: 1.65; }
.hn-work__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; color: var(--hn-navy); text-decoration: none; border-bottom: 2px solid var(--hn-or); padding-bottom: 2px; }
.hn-work__link:hover { color: var(--hn-or); }
.hn-head .section-label { justify-content: center; }
.hn-head h2.section-title { margin-top: 14px; }
.hn-head--split .section-label { justify-content: flex-start; }
.hn-center { display: flex; justify-content: center; margin-top: 48px; }
.hn-center .btn-dark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
@media (max-width: 1024px) { .hn-head--split { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 720px) {
  .hn-work { grid-template-columns: 1fr; gap: 48px; }
  .hn-work__art { padding: 24px 28px 22px; }
  .hn-work__card { --hn-vh: 180px; }
}
@media (prefers-reduced-motion: reduce) { .hn-laptop__view img { transition: none; } }

/* Case study (template-parts/case-study-jcl.php) */
.hn-work__type { margin: 0 0 6px; font-size: .875rem; font-weight: 700; color: var(--hn-or); }
.hn-case { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: 26px; background: #fff; border: 1px solid var(--hn-line); }
.hn-case__art { --hn-vh: 330px; }
.hn-case__body h3 { margin: 0 0 12px; font-size: 1.875rem; color: var(--hn-navy); }
.hn-case__body > p:not(.hn-work__type) { margin: 0 0 22px; color: var(--hn-body); line-height: 1.7; }
.hn-case__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.hn-case__stats div { padding: 18px 20px; border-radius: 16px; background: var(--hn-soft); }
.hn-case__stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--hn-or); }
.hn-case__stats span { display: block; margin-top: 6px; font-size: .875rem; color: var(--hn-body); line-height: 1.4; }
.hn-case .btn-dark { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.hn-sec--tint { background: var(--hn-soft); }
@media (max-width: 1024px) { .hn-case { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .hn-case__stats { grid-template-columns: 1fr; } .hn-case__art { --hn-vh: 190px; } }
