/* JLC Applications-page styles extracted from the approved Applications design. */
:root {
        --ink: #11161b;
        --steel: #7d8a92;
        --steel-deep: #303942;
        --paper: #eceff0;
        --cloud: #d8dde0;
        --metal-bright: #f9fbfc;
        --navy: #1d252c;
        --white: #ffffff;
        --muted: #5d666d;
        --line: rgba(17, 22, 27, 0.14);
        --shadow: 0 24px 60px rgba(17, 22, 27, 0.16);
        --brushed: linear-gradient(105deg, #f7f9fa 0%, #bac4ca 28%, #eef2f4 48%, #7f8c94 76%, #dce2e5 100%);
      }

      * {
        box-sizing: border-box;
      }

      html {
        scroll-behavior: smooth;
      }

      body {
        margin: 0;
        font-family: "IBM Plex Sans", Arial, sans-serif;
        line-height: 1.55;
        color: var(--ink);
        background:
          linear-gradient(90deg, rgba(255, 255, 255, 0.74), rgba(188, 197, 202, 0.22), rgba(255, 255, 255, 0.6)),
          linear-gradient(180deg, var(--paper), #f8fafb);
        overflow-x: hidden;
      }

      a {
        color: inherit;
        text-decoration: none;
      }

      img {
        display: block;
        max-width: 100%;
      }

      button,
input {
        font: inherit;
      }

      .container {
        width: min(1180px, calc(100% - 40px));
        margin: 0 auto;
      }

      .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid transparent;
        padding: 11px 18px;
        font-weight: 700;
        cursor: pointer;
        transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
      }

      .btn:hover {
        transform: translateY(-2px);
      }

      .btn-primary {
        border-color: rgba(255, 255, 255, 0.34);
        background: var(--brushed);
        color: var(--navy);
        box-shadow: 0 18px 36px rgba(35, 41, 45, 0.24);
      }

      .btn-secondary {
        border-color: rgba(255, 255, 255, 0.48);
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
      }

      .btn-dark {
        background: linear-gradient(135deg, #151a1f, #343d44);
        color: var(--white);
      }h1,
h2,
h3,
p {
        margin-top: 0;
      }

      h1,
h2,
h3 {
        font-family: "Archivo", sans-serif;
        line-height: 1.02;
      }

      .mission-hero {
        min-height: 680px;
        display: grid;
        align-items: center;
        color: var(--white);
        background:
          linear-gradient(90deg, rgba(7, 10, 13, 0.72), rgba(7, 10, 13, 0.46), rgba(7, 10, 13, 0.72)),
          url("/skin/static/images/jlc/applications-hero-aluminum-molds.jpg") center / cover no-repeat;
        overflow: hidden;
      }

      .mission-layout {
        min-height: 680px;
        display: grid;
        place-items: center;
        padding: 118px 0 54px;
        text-align: center;
      }

      .hero-copy {
        max-width: 760px;
        margin: 0 auto;
      }

      h1 {
        margin: 0 0 20px;
        font-size: 68px;
      }

      .hero-copy p {
        max-width: 640px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.76);
        font-size: 18px;
      }

      .section {
        padding: 92px 0;
      }

      .section.dark {
        color: var(--white);
        background: #0e1317;
      }

      .section-head {
        max-width: 900px;
        margin-bottom: 34px;
      }

      .section-label {
        margin-bottom: 10px;
        color: var(--muted);
        font-size: 13px;
        font-weight: 800;
        text-transform: uppercase;
      }

      .section.dark .section-label {
        color: rgba(255, 255, 255, 0.48);
      }

      .section-title {
        margin-bottom: 14px;
        font-size: 50px;
      }

      .section-head p {
        max-width: 660px;
        color: var(--muted);
        font-size: 17px;
      }

      .section.dark .section-head p {
        color: rgba(255, 255, 255, 0.66);
      }

      .case-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 24px;
      }

      .case-card {
        position: relative;
        grid-column: span 2;
        display: block;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: #11161b;
        box-shadow: 0 18px 40px rgba(17, 22, 27, 0.08);
        overflow: hidden;
        transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
      }

      .case-card:nth-last-child(2),
.case-card:last-child {
        grid-column: span 3;
      }

      .case-card:hover {
        transform: translateY(-5px);
        border-color: rgba(17, 22, 27, 0.28);
        box-shadow: var(--shadow);
      }

      .case-card img {
        width: 100%;
        aspect-ratio: 4 / 3;
        display: block;
        object-fit: cover;
        filter: saturate(0.96) contrast(1.02);
        transition: transform 0.34s ease;
      }

      .case-card:hover img {
        transform: scale(1.04);
      }

      .case-body {
        position: absolute;
        inset: 0;
        display: grid;
        align-content: end;
        gap: 10px;
        padding: 20px;
        color: var(--white);
        background:
          linear-gradient(180deg, rgba(9, 13, 16, 0.04), rgba(9, 13, 16, 0.86)),
          linear-gradient(90deg, rgba(9, 13, 16, 0.7), transparent 72%);
        opacity: 0;
        pointer-events: none;
        transform: translateY(12px);
        transition: opacity 0.24s ease, transform 0.24s ease;
      }

      .case-card:hover .case-body,
.case-card:focus-visible .case-body {
        opacity: 1;
        transform: translateY(0);
      }

      .case-card h3 {
        margin: 0;
        color: var(--white);
        font-size: 21px;
        line-height: 1.12;
      }

      .case-card p {
        margin: 0;
        color: rgba(255, 255, 255, 0.72);
        font-size: 14px;
        line-height: 1.45;
      }

      .app-cta {
        min-height: 330px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 24px;
        align-items: center;
        padding: 64px max(30px, calc((100vw - 1180px) / 2 + 30px));
        color: var(--white);
        background:
          linear-gradient(90deg, rgba(10, 14, 18, 0.92), rgba(10, 14, 18, 0.5)),
          url("/skin/static/images/jlc/laser-cutting.png") center / cover no-repeat;
      }

      .app-cta h2 {
        max-width: 780px;
        margin-bottom: 10px;
        font-size: 48px;
      }

      .app-cta p {
        max-width: 640px;
        margin-bottom: 0;
        color: rgba(255, 255, 255, 0.72);
      }

      .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.64s ease, transform 0.64s ease;
      }

      .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
      }

      @media (max-width: 1080px) {
        .app-cta {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 980px) {

        h1 {
          font-size: 54px;
        }

        .case-grid {
          grid-template-columns: repeat(4, minmax(0, 1fr));
        }

      }

      @media (max-width: 680px) {
        .container {
          width: min(100% - 28px, 1180px);
        }

        .mission-layout {
          padding: 108px 0 28px;
          gap: 24px;
        }

        h1 {
          font-size: 42px;
        }

        .hero-copy p {
          font-size: 16px;
        }

        .section-title,
.app-cta h2 {
          font-size: 34px;
        }

        .section {
          padding: 58px 0;
        }

        .case-grid {
          grid-template-columns: 1fr;
        }

        .case-card,
.case-card:nth-last-child(2),
.case-card:last-child {
          grid-column: auto;
        }

        .app-cta {
          min-height: 310px;
          padding: 46px 20px;
        }
      }
      /* End unified homepage navigation */
