/* Scoped hero and category layouts. Native text overlays individual photographs. */
.ngenco-page-masthead, .ngenco-page-hero, .ngenco-category-cards,
.ngenco-page-masthead *, .ngenco-page-hero *, .ngenco-category-cards * { box-sizing: border-box; }
.ngenco-page-masthead {
    --ngenco-callout-overlap: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto var(--ngenco-callout-overlap) auto;
    position: relative;
    isolation: isolate;
    margin: 0;
}
.ngenco-page-masthead > .ngenco-page-hero { grid-column: 1; grid-row: 1 / 3; }
.ngenco-page-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    overflow: hidden;
    min-width: 0;
    min-height: clamp(570px, 46vw, 760px);
    padding: clamp(60px, 6vw, 100px) 0 100px;
    margin: 0;
    background: #031b29;
    color: #fff;
}
.ngenco-page-hero__media { position: absolute; inset: 0; z-index: -2; display: block; }
.ngenco-page-hero__media .ngenco-page-hero__image {
    display: block; width: 100%; height: 100%; max-width: none;
    object-fit: cover; object-position: center; margin: 0;
}
.ngenco-page-hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(1, 20, 31, .88) 0%, rgba(1, 20, 31, .58) 34%, rgba(1, 20, 31, 0) 65%);
    pointer-events: none;
}
.ngenco-page-hero__inner, .ngenco-category-cards__inner { width: min(92%, 1480px); margin: 0 auto; padding: 0; }
.ngenco-page-hero__copy { width: 53%; max-width: 760px; min-width: 0; }
.ngenco-page-hero .ngenco-page-hero__eyebrow {
    margin: 0 0 18px; padding: 0; color: #00bdd5;
    font-family: 'Bai Jamjuree', sans-serif; font-size: clamp(14px, 1.3vw, 20px);
    font-weight: 600; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase;
}
.ngenco-page-hero h1 {
    margin: 0; padding: 0; color: #fff; max-width: none;
    font-family: 'Bai Jamjuree', sans-serif; font-size: clamp(46px, 5.2vw, 84px);
    font-weight: 800; line-height: 1.04; letter-spacing: -.045em; text-transform: none; text-align: left;
}
.ngenco-page-hero h1 span { display: block; color: #00bdd5; }
.ngenco-page-hero .ngenco-page-hero__subtitle {
    margin: 12px 0 0; padding: 0; color: #fff;
    font-size: clamp(25px, 2.8vw, 42px); font-weight: 400; line-height: 1.2; text-transform: none;
}
.ngenco-page-hero .ngenco-page-hero__description {
    margin: 28px 0 0; padding: 0; max-width: 590px; color: #f1f5f7;
    font-size: clamp(18px, 1.5vw, 23px); font-weight: 400; line-height: 1.5;
    letter-spacing: 0; text-transform: none;
}
.ngenco-page-hero--about .ngenco-page-hero__description { max-width: 570px; font-size: clamp(19px, 1.75vw, 27px); line-height: 1.38; }
.ngenco-page-hero--about .ngenco-page-hero__image { object-position: center 25%; }
.ngenco-page-hero--product .ngenco-page-hero__description { max-width: 535px; }
.ngenco-page-hero--product::before { background: linear-gradient(90deg, rgba(1, 20, 31, .94), rgba(1, 20, 31, .85) 34%, rgba(1, 20, 31, .5) 45%, rgba(1, 20, 31, 0) 65%); }
.ngenco-page-hero__buttons { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; margin-top: 32px; }
.ngenco-page-hero .ngenco-page-hero__button {
    display: inline-flex; align-items: center; justify-content: center; gap: 24px;
    min-height: 58px; min-width: 178px; padding: 14px 30px; margin: 0;
    border: 2px solid #00bdd5; border-radius: 7px; background: #00bdd5;
    color: #001721; text-decoration: none; font-size: 18px; line-height: 1.3; font-weight: 600;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.ngenco-page-hero .ngenco-page-hero__button--outline { background: rgba(0, 20, 30, .24); color: #00c7df; }
.ngenco-page-hero--about .ngenco-page-hero__button--outline { border-color: #e6eef3; color: #fff; }
.ngenco-page-hero .ngenco-page-hero__button:hover { background: #fff; border-color: #fff; color: #052330; }
.ngenco-page-hero__button:focus-visible, .ngenco-category-card__link:focus-visible { outline: 3px solid #00899c; outline-offset: 5px; }
.ngenco-page-masthead > .ngenco-product-callouts {
    grid-column: 1; grid-row: 2 / 4; align-self: start; position: relative; z-index: 1;
    width: min(93%, 1480px); max-width: none; padding: 0; margin: 0 auto; background: transparent;
}
.ngenco-page-masthead .ngenco-product-callouts__panel { border-radius: 8px; padding: 23px 30px; }
.ngenco-page-masthead .ngenco-product-callouts__text h2 { font-size: clamp(20px, 1.75vw, 27px); }
.ngenco-page-masthead .ngenco-product-callouts__text p { font-size: clamp(14px, 1.22vw, 19px); }
.ngenco-page-masthead .ngenco-product-callouts__icon { color: #00bdd5; }
.ngenco-page-masthead .ngenco-product-callouts__icon svg { width: 58px; }
.ngenco-page-hero--category {
    min-height: clamp(340px, 25vw, 440px); padding: 50px 0;
}
.ngenco-page-hero--category .ngenco-page-hero__copy { width: 49%; max-width: 730px; }
.ngenco-page-hero--category h1 { font-size: clamp(45px, 4.8vw, 76px); line-height: 1.05; }
.ngenco-page-hero--category .ngenco-page-hero__eyebrow { color: #dce8ec; font-size: clamp(13px, 1vw, 16px); letter-spacing: .24em; }
.ngenco-page-hero--category .ngenco-page-hero__description { margin-top: 21px; font-size: clamp(18px, 1.45vw, 23px); max-width: 650px; }
.ngenco-category-cards { padding: 38px 0 76px; margin: 0; background: #fff; }
.ngenco-category-cards__heading { text-align: center; margin: 0 0 30px; padding: 0; background: transparent; }
.ngenco-category-cards__heading h2 {
    margin: 0; padding: 0; color: #11222c; font-family: 'Bai Jamjuree', sans-serif;
    font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; line-height: 1.14; letter-spacing: -.035em; text-transform: none;
}
.ngenco-category-cards__heading h2 span { color: #00abc1 !important; }
.ngenco-category-cards__heading p { margin: 16px auto 0; padding: 0; max-width: 880px; color: #465a66; font-size: 18px; line-height: 1.55; text-transform: none; }
.ngenco-category-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.ngenco-category-card { display: flex; min-width: 0; margin: 0; padding: 0; overflow: hidden; border-radius: 16px; background: #042431; box-shadow: 0 2px 5px rgba(4, 28, 38, .07); }
.ngenco-category-card .ngenco-category-card__link { display: flex; flex-direction: column; width: 100%; min-width: 0; color: #fff; text-decoration: none; }
.ngenco-category-card__media { aspect-ratio: 2.08 / 1; overflow: hidden; background: #dfe7eb; }
.ngenco-category-card__media img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; transition: transform .25s ease; }
.ngenco-category-card__media--contain { background: #f2f3f4; }
.ngenco-category-card__media--contain img { object-fit: contain; }
.ngenco-category-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 26px 27px; }
.ngenco-category-card h3 { margin: 0 0 8px; padding: 0; color: #12bfd3; font-family: 'Bai Jamjuree', sans-serif; font-size: clamp(23px, 2vw, 32px); font-weight: 700; line-height: 1.16; text-transform: none; letter-spacing: -.02em; }
.ngenco-category-card p { margin: 0 0 24px; padding: 0; color: #e7eef1; font-size: clamp(16px, 1.15vw, 19px); font-weight: 400; line-height: 1.45; text-transform: none; }
.ngenco-category-card__cta { display: inline-flex; align-items: center; gap: 14px; margin-top: auto; color: #21d3e5; font-size: clamp(16px, 1.12vw, 19px); font-weight: 600; line-height: 1.3; }
.ngenco-category-card__cta svg { flex: 0 0 22px; }
.ngenco-category-card a:hover .ngenco-category-card__cta { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ngenco-category-card a:hover .ngenco-category-card__media img { transform: scale(1.025); }
#ngenco-about-story { scroll-margin-top: 95px; }
@media (min-width: 1600px) {
    .ngenco-page-hero--about .ngenco-page-hero__copy { width: 55%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .ngenco-page-hero__copy { width: 62%; }
    .ngenco-page-hero--category .ngenco-page-hero__copy { width: 60%; }
    .ngenco-page-hero h1 { font-size: 52px; }
    .ngenco-page-hero__buttons { gap: 12px; }
    .ngenco-page-hero .ngenco-page-hero__button { padding-inline: 20px; min-width: 150px; }
    .ngenco-page-masthead .ngenco-product-callouts__panel { padding: 20px 18px; }
    .ngenco-page-masthead .ngenco-product-callouts__item { gap: 12px; padding-inline: 16px; }
    .ngenco-page-masthead .ngenco-product-callouts__icon { flex-basis: 36px; }
    .ngenco-page-masthead .ngenco-product-callouts__icon svg { width: 36px; }
    .ngenco-page-masthead .ngenco-product-callouts__text h2 { font-size: 19px; }
    .ngenco-category-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .ngenco-page-masthead { --ngenco-callout-overlap: 26px; }
    .ngenco-page-hero, .ngenco-page-hero--category { min-height: 0; padding: 250px 0 58px; }
    .ngenco-page-hero__media { bottom: auto; height: 340px; }
    .ngenco-page-hero__media .ngenco-page-hero__image { object-position: var(--ngenco-hero-mobile-focus, 85%) center; }
    .ngenco-page-hero::before, .ngenco-page-hero--product::before { background: linear-gradient(180deg, rgba(3, 27, 41, .04) 80px, rgba(3, 27, 41, .28) 170px, #031b29 335px); }
    .ngenco-page-hero__inner, .ngenco-category-cards__inner { width: min(90%, 600px); }
    .ngenco-page-hero__copy, .ngenco-page-hero--category .ngenco-page-hero__copy { width: 100%; max-width: none; }
    .ngenco-page-hero h1, .ngenco-page-hero--category h1 { font-size: clamp(36px, 8.5vw, 58px); line-height: 1.06; letter-spacing: -.04em; }
    .ngenco-page-hero .ngenco-page-hero__eyebrow { margin-bottom: 14px; font-size: 13px; }
    .ngenco-page-hero .ngenco-page-hero__description, .ngenco-page-hero--about .ngenco-page-hero__description { margin-top: 22px; font-size: 18px; line-height: 1.5; }
    .ngenco-page-hero .ngenco-page-hero__subtitle { font-size: 27px; }
    .ngenco-page-hero__buttons { margin-top: 26px; gap: 12px; }
    .ngenco-page-hero .ngenco-page-hero__button { flex: 1 1 150px; min-width: 0; min-height: 54px; padding: 13px 16px; gap: 12px; font-size: 16px; }
    .ngenco-page-hero--about .ngenco-page-hero__button { flex-basis: 100%; }
    .ngenco-page-masthead > .ngenco-product-callouts { width: 90%; }
    .ngenco-page-masthead .ngenco-product-callouts__panel { padding: 8px 20px; }
    .ngenco-page-masthead .ngenco-product-callouts__text h2 { font-size: 21px; }
    .ngenco-page-masthead .ngenco-product-callouts__text p { font-size: 15px; }
    .ngenco-page-masthead .ngenco-product-callouts__icon svg { width: 42px; }
    .ngenco-page-hero--category { padding-top: 190px; padding-bottom: 34px; }
    .ngenco-page-hero--category .ngenco-page-hero__media { height: 270px; }
    .ngenco-page-hero--category::before { background: linear-gradient(180deg, rgba(3, 27, 41, .04) 30px, rgba(3, 27, 41, .68) 180px, #031b29 270px); }
    .ngenco-category-cards { padding: 30px 0 50px; }
    .ngenco-category-cards__heading { margin-bottom: 24px; }
    .ngenco-category-cards__heading h2 { font-size: 32px; }
    .ngenco-category-cards__heading p { font-size: 17px; }
    .ngenco-category-cards__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .ngenco-category-card__body { padding: 22px 24px 24px; }
    .ngenco-category-card h3 { font-size: 27px; }
    .ngenco-category-card p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .ngenco-page-hero__button, .ngenco-category-card__media img { transition: none; }
    .ngenco-category-card a:hover .ngenco-category-card__media img { transform: none; }
}
