/* ==================================================
   PT. JINSHENGDA TRADING INDONESIA
   Phase 1 Frontend Foundation
   ================================================== */

/* DESIGN TOKENS */
:root {
    --blue-light: #47a9e6;
    --blue-medium: #368ed2;
    --blue-primary: #256daf;
    --blue-dark: #174f86;
    --gold-primary: #deb03e;
    --gold-medium: #f3d063;
    --gold-light: #fdee8d;
    --navy: #163a5f;
    --footer-background: #102a43;
    --text-primary: #1f2933;
    --text-secondary: #667085;
    --text-light: #ffffff;
    --white: #ffffff;
    --background-light: #f7f9fb;
    --background-blue: #f2f8fc;
    --border-color: #e5e9ef;
    --card-background: #ffffff;
    --success: #267a52;
    --shadow-small: 0 8px 24px rgba(16, 42, 67, 0.06);
    --shadow-medium: 0 18px 46px rgba(16, 42, 67, 0.10);
    --container: 1200px;
    --header-height: 76px;
    --radius-small: 6px;
    --radius: 8px;
    --radius-large: 10px;
    --transition: 180ms ease;

    /* Semantic aliases retained for future CMS/theme integration */
    --primary-color: var(--blue-primary);
    --primary-dark: var(--blue-dark);
    --primary-light: var(--blue-light);
    --accent-color: var(--gold-primary);
    --accent-light: var(--gold-light);
    --text-color: var(--text-primary);
    --background-color: var(--white);
    --light-background: var(--background-light);
    --blue-background: var(--background-blue);
}

/* RESET & BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    color: var(--text-primary);
    background: var(--white);
    font-family: Arial, Helvetica, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: var(--blue-primary);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(71, 169, 230, 0.42);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.3rem, 5vw, 4.25rem);
    letter-spacing: -0.04em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

p:last-child {
    margin-bottom: 0;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

.section--light {
    background: var(--background-light);
}

.section--blue {
    background: var(--background-blue);
}

.section-heading {
    max-width: 690px;
    margin-bottom: 40px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-heading p,
.lead {
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--blue-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 28px;
    height: 2px;
    background: var(--gold-primary);
    content: "";
}

.accent-line {
    width: 52px;
    height: 3px;
    margin: 0 0 22px;
    border: 0;
    background: var(--gold-primary);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.text-link::after {
    content: "\2192";
    transition: transform var(--transition);
}

.text-link:hover::after {
    transform: translateX(4px);
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    transform: translateY(-150%);
    border-radius: var(--radius-small);
    color: var(--white);
    background: var(--navy);
}

.skip-link:focus {
    transform: translateY(0);
}

/* BUTTONS */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--blue-primary);
    border-radius: var(--radius-small);
    color: var(--white);
    background: var(--blue-primary);
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.button:hover {
    border-color: var(--blue-dark);
    color: var(--white);
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.button--secondary {
    color: var(--blue-dark);
    background: transparent;
}

.button--secondary:hover {
    color: var(--white);
}

.button--light {
    border-color: var(--white);
    color: var(--navy);
    background: var(--white);
}

.button--light:hover {
    border-color: var(--gold-medium);
    color: var(--navy);
    background: var(--gold-medium);
}

/* HEADER */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.97);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 22px rgba(16, 42, 67, 0.06);
}

.header-inner {
    display: flex;
    min-height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-inner > .brand {
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
    font-size: 0.96rem;
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1.15;
}

.brand:hover {
    color: var(--navy);
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 2px solid var(--blue-primary);
    border-radius: var(--radius-small);
    color: var(--blue-primary);
    font-size: 0.86rem;
    letter-spacing: 0;
}

.brand-logo {
    width: auto;
    height: 44px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-name {
    max-width: 235px;
    overflow-wrap: anywhere;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: 25px 13px 22px;
    border-bottom: 3px solid transparent;
    color: var(--text-primary);
    font-size: 0.94rem;
    font-weight: 700;
    transition: color var(--transition), border-color var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    border-bottom-color: var(--blue-primary);
    color: var(--blue-primary);
}

.site-nav a.nav-hiflow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 15px;
}

.nav-hiflow-wordmark {
    display: block;
    width: auto;
    height: 30px;
    object-fit: contain;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    background: var(--white);
    cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--navy);
    content: "";
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle-lines {
    position: relative;
}

.nav-toggle-lines::before {
    position: absolute;
    top: -7px;
}

.nav-toggle-lines::after {
    position: absolute;
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Homepage cover */
.hero {
    display: grid;
    align-items: center;
    min-height: clamp(500px, 46vw, 690px);
    padding: clamp(50px, 6vw, 94px) 0;
}

.hero-copy { max-width: min(43vw, 34rem); }

.hero-company {
    margin: 0 0 14px;
    padding-inline-start: 10px;
    border-inline-start: 2px solid var(--gold-primary);
    color: #e0e8f1;
    font-size: clamp(.8rem, 1.25vw, 1rem);
    font-weight: 650;
    line-height: 1.4;
}

.hero h1 {
    max-width: 13ch;
    margin: 0;
    color: var(--white);
    font-size: clamp(2.3rem, 5.1vw, 4.65rem);
    line-height: 1.01;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero .lead { margin: 18px 0 24px; color: #d9e5f2; max-width: 42ch; line-height: 1.57; }
.hero .button:not(.button--secondary) { gap: 8px; color: var(--footer-background); border-color: var(--gold-primary); background: var(--gold-primary); }
.hero .button:not(.button--secondary):hover { background: var(--gold-medium); border-color: var(--gold-medium); }
.hero .button--secondary { border-color: rgb(255 255 255 / 55%); color: var(--white); background: rgb(11 31 52 / 36%); }
.hero .button--secondary:hover { background: var(--navy); }
.hero :focus-visible { outline-color: var(--gold-light); }

.page-hero {
    padding: 76px 0 70px;
    background: var(--background-blue);
}

.page-hero .container {
    max-width: 1200px;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: 16px;
}

.page-hero p {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 1.12rem;
}

.breadcrumb {
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.breadcrumb li:not(:last-child)::after {
    margin-left: 7px;
    color: #98a2b3;
    content: "/";
}

.breadcrumb a {
    font-weight: 700;
}

.homepage-media-slider {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid #dce7f0;
    border-radius: var(--radius);
    background: var(--background-blue);
    transition: opacity 0.2s ease;
}

.homepage-media-slider.is-changing {
    opacity: 0.35;
}

.homepage-media-slider__image {
    width: 100%;
    height: 330px;
    object-fit: cover;
}


.homepage-media-slider__controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.homepage-media-slider__controls > button {
    display: grid;
    width: 32px;
    height: 32px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    color: var(--navy);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.homepage-media-slider__controls [data-gallery-dots] {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(16, 42, 67, 0.74);
}

.homepage-media-slider__controls [data-gallery-dots] button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.homepage-media-slider__controls [data-gallery-dots] button.is-active {
    background: var(--gold-medium);
}

/* COMPANY */
.split-layout {
    display: grid;
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-layout > .content-block:only-child {
    grid-column: 1 / -1;
    max-width: 72ch;
}

.split-layout--reverse .split-media {
    order: 2;
}

.content-block p {
    color: var(--text-secondary);
}

.content-block .button {
    margin-top: 12px;
}

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

.content-panel {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
}

.content-panel p,
.content-panel li {
    color: var(--text-secondary);
}

.content-panel ul,
.feature-list {
    margin: 0;
    padding-left: 20px;
}

.content-panel li + li,
.feature-list li + li {
    margin-top: 8px;
}

.info-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.corporate-flow {
    display: grid;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.corporate-flow li {
    position: relative;
    min-height: 150px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    background: var(--white);
}

.corporate-flow li + li {
    border-left: 0;
}

.corporate-flow li:not(:last-child)::after {
    position: absolute;
    z-index: 1;
    top: 50%;
    right: -13px;
    display: grid;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: var(--navy);
    background: var(--gold-medium);
    content: "\2192";
    place-items: center;
    transform: translateY(-50%);
}

.corporate-flow span,
.corporate-flow strong {
    display: block;
}

.corporate-flow span {
    margin-bottom: 12px;
    color: var(--blue-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.corporate-flow strong {
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.4;
}

.info-block {
    padding: 25px;
    border-top: 3px solid var(--blue-primary);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.info-block span {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.info-block strong {
    color: var(--navy);
    font-size: 1.02rem;
}

.company-details {
    margin: 0;
}

.company-details div {
    display: grid;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    grid-template-columns: 170px 1fr;
}

.company-details dt {
    color: var(--navy);
    font-weight: 700;
}

.company-details dd {
    margin: 0;
    color: var(--text-secondary);
}

/* HIFLOW */
.brand-feature {
    position: relative;
}

.brand-feature::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 4px;
    background: var(--gold-primary);
    content: "";
}


.hiflow-wordmark {
    display: inline-block;
    width: auto;
    height: clamp(42px, 4.2vw, 58px);
    object-fit: contain;
}

.brand-principles {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
}

.principle-number {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: var(--radius-small);
    color: var(--navy);
    background: var(--gold-light);
    font-size: 0.84rem;
    font-weight: 800;
}

/* PRODUCTS */
.product-grid,
.article-grid {
    display: grid;
    gap: 24px;
}

.product-grid {
    gap: 16px;
    align-items: start;
    grid-template-columns: repeat(auto-fill, minmax(160px, 190px));
    justify-content: start;
}

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

.card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--card-background);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    border-color: #cad7e2;
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.card-media {
    width: 100%;
    height: 205px;
    border-bottom: 1px solid var(--border-color);
    object-fit: cover;
    background: var(--background-light);
}

/* Product uploads are specified as square assets, so every product card keeps
   a true 1:1 media frame at all responsive widths. */
.product-card .card-media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card .card-body {
    padding: 14px;
}

.product-card.card h2,
.product-card.card h3 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.product-card.card p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 14px;
    font-size: 0.8rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card .card-label {
    margin-bottom: 7px;
    font-size: 0.62rem;
}

.product-card .text-link {
    font-size: 0.82rem;
}

.section.related-products-section {
    padding: 40px 0;
}

.related-products-section .section-heading {
    margin-bottom: 18px;
}

.related-products-section h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-products-grid > li {
    min-width: 0;
}

.related-product-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    height: 100%;
    min-height: 144px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--navy);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.related-product-card:hover {
    border-color: var(--blue-primary);
    box-shadow: var(--shadow-small);
}

.related-product-card:focus-visible {
    outline: 2px solid var(--blue-primary);
    outline-offset: 3px;
}

.related-product-image {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: 5px;
    object-fit: contain;
    background: var(--background-light);
}

.related-product-body {
    min-width: 0;
}

.related-product-body:only-child {
    grid-column: 1 / -1;
}

.related-product-body h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 5px;
    font-size: .9rem;
    line-height: 1.4;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-product-model {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: .75rem;
    overflow-wrap: anywhere;
}

.related-product-price {
    display: block;
    color: var(--navy);
    font-size: .95rem;
}

.related-product-stock {
    display: block;
    margin-top: 4px;
    color: var(--text-secondary);
    font-size: .7rem;
    line-height: 1.5;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.card h2,
.card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    letter-spacing: 0;
}

.card h2 a,
.card h3 a {
    color: var(--navy);
}

.card h2 a:hover,
.card h3 a:hover {
    color: var(--blue-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
}

.card .text-link {
    margin-top: auto;
}

.card-label {
    display: inline-block;
    margin-bottom: 11px;
    color: var(--blue-primary);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.card-date {
    margin: 4px 0 15px;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.filter-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 34px;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
}

.search-field {
    width: min(100%, 380px);
}

.form-label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cfd6df;
    border-radius: var(--radius-small);
    color: var(--text-primary);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px rgba(37, 109, 175, 0.12);
    outline: 0;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-button {
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    color: var(--text-primary);
    background: var(--background-light);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
    border-color: var(--blue-primary);
    color: var(--white);
    background: var(--blue-primary);
}

.product-card[hidden] {
    display: none;
}

[hidden] { display: none !important; }
.catalog-filters { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.catalog-filters > div { min-width: 0; }
.catalog-filters .search-field { width: 100%; }
.product-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.product-labels .card-label { margin: 0; }
.product-card-model { display: block; margin-bottom: 8px; color: var(--text-secondary); font-size: .75rem; }
.line-badge { display: inline-block; border-radius: 4px; padding: 4px 8px; font-size: .72rem; font-weight: 700; line-height: 1.4; }
.line-badge--professional { color: #163653; background: #e5edf5; }
.line-badge--rumahan { color: #1e5b46; background: #e8f3ed; }
.brand-grid, .product-line-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.brand-card, .product-line-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border-color); border-radius: var(--radius); background: #fff; }
.brand-card { max-width: 600px; }
.brand-card p, .product-line-card p { margin: 0; }
.brand-card .text-link, .product-line-card .button { margin-top: auto; }
.brand-card-heading { display: flex; align-items: center; min-height: 64px; }
.brand-card-heading h3 { margin: 0; overflow-wrap: anywhere; }
.brand-card-heading img { width: 180px; height: 60px; object-fit: contain; }
.brand-product-count { font-size: .85rem; color: var(--text-secondary); }
.product-line-card { border-top: 4px solid #163653; }
.product-line-card--rumahan { border-top-color: #327659; }
@media (max-width: 700px) { .catalog-filters { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 600px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 360px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }

.catalog-status {
    min-height: 26px;
    margin: -17px 0 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.empty-state {
    display: none;
    padding: 38px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
    background: var(--background-light);
}

.empty-state.is-visible {
    display: block;
}

.empty-state--static {
    display: block;
}

/* PRODUCT DETAIL */
.product-intro {
    display: grid;
    min-width: 0;
    align-items: start;
    gap: 56px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
}

.product-intro > * {
    min-width: 0;
}

.product-intro > :only-child {
    grid-column: 1 / -1;
    max-width: 72ch;
}

.product-intro h1 {
    margin-bottom: 16px;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.product-intro .lead {
    font-size: 1rem;
}

.product-commerce {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 22px;
}

.product-commerce small,
.product-card-commerce small {
    flex-basis: 100%;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
}

.product-commerce strong {
    color: var(--navy);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.product-commerce span,
.product-card-commerce span {
    color: var(--text-secondary);
    font-size: .875rem;
    font-weight: 650;
}

.product-card-commerce {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 4px 0 14px;
}

.product-card-commerce strong {
    color: var(--navy);
}

.product-actions {
    display: grid;
    justify-items: start;
    gap: 24px;
}

.product-marketplaces {
    display: grid;
    gap: 8px;
}

.official-channel-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 12px;
}

.official-channel {
    display: grid;
    grid-template-columns: var(--channel-logo-width, 48px) minmax(0, 1fr) 28px;
    align-items: center;
    min-width: 0;
    gap: 13px;
    padding: 13px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--navy);
    background: var(--white);
    box-shadow: var(--shadow-small);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.official-channel:hover {
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.official-channel-logo {
    display: grid;
    width: var(--channel-logo-width, 48px);
    height: 48px;
    place-items: center;
    border-radius: 13px;
    background: #f5f7fa;
}

.official-channel-logo img {
    display: block;
    width: var(--channel-icon-width, 28px);
    height: 28px;
    object-fit: contain;
}

.official-channel-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.official-channel-copy strong {
    color: var(--navy);
    font-size: 0.93rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.official-channel-copy small {
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.73rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.official-channel-arrow {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    color: var(--navy);
    background: var(--background-light);
    font-size: 0.82rem;
    transition: transform var(--transition), background var(--transition);
}

.official-channel:hover .official-channel-arrow {
    transform: translate(2px, -2px);
    background: #e9eef4;
}

.official-channel--tiktok,
.official-channel--tiktok_shop {
    border-color: rgba(17, 17, 17, 0.24);
}

.official-channel--tiktok_shop {
    --channel-logo-width: 82px;
    --channel-icon-width: 72px;
}

.official-channel--shopee {
    border-color: rgba(238, 77, 45, 0.42);
}

.official-channel--tiktok .official-channel-logo,
.official-channel--tiktok_shop .official-channel-logo {
    background: #f1f1f1;
}

.official-channel--shopee .official-channel-logo {
    background: #fff3f0;
}

.official-channels-section {
    padding: clamp(36px, 6vw, 76px) 0;
    background: var(--white);
    scroll-margin-top: var(--header-height);
}

.official-channel-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(30px, 6vw, 84px);
}

.official-channel-group:only-child { grid-column: 1 / -1; }

.official-channel-group h2 {
    margin: 0 0 15px;
    padding-left: 12px;
    border-left: 3px solid var(--gold-primary);
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    line-height: 1.25;
}

.official-channel-group .official-channel-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
}

.official-channel-group .official-channel {
    grid-template-columns: var(--channel-logo-width, 40px) minmax(0, 1fr) 26px;
    gap: 12px;
    min-height: 61px;
    padding: 10px 8px;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
}

.official-channel-group .official-channel:hover {
    transform: none;
    background: var(--background-light);
}

.official-channel-group .official-channel-logo {
    width: var(--channel-logo-width, 40px);
    height: 40px;
    border-radius: 8px;
}

.official-channel-group .official-channel-arrow {
    width: 26px;
    height: 26px;
    background: transparent;
}

@media (max-width: 680px) {
    .official-channel-groups { grid-template-columns: minmax(0, 1fr); }
}

.product-gallery {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: start;
    align-content: start;
}

.product-gallery-image {
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    object-fit: contain;
    background: var(--background-light);
}

.product-gallery-link {
    display: block;
    min-width: 0;
    border-radius: var(--radius);
    cursor: zoom-in;
}

.product-gallery-link img {
    display: block;
}

.product-gallery-link:hover img,
.product-gallery-link:focus-visible img {
    border-color: var(--primary-color);
}

.product-gallery-link--primary {
    grid-column: 1 / -1;
}

.product-lightbox-open { overflow: hidden; }
.product-lightbox {
    width: min(1100px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    padding: 18px;
    border: 0;
    border-radius: var(--radius);
    color: var(--navy);
    background: #fff;
}
.product-lightbox::backdrop { background: rgb(5 15 28 / 85%); }
.product-lightbox-toolbar,
.product-lightbox-toolbar > div,
.product-lightbox-navigation { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-lightbox button,
.product-lightbox-navigation a { padding: 10px 12px; border: 1px solid var(--border-color); border-radius: 6px; color: inherit; background: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.product-lightbox [hidden] { display: none; }
.product-lightbox-stage { display: grid; place-items: center; overflow: auto; height: min(65dvh, 760px); margin-top: 14px; background: var(--background-light); }
.product-lightbox-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(65dvh, 760px); object-fit: contain; }
.product-lightbox.is-zoomed .product-lightbox-stage { display: block; }
.product-lightbox.is-zoomed img { max-width: none; max-height: none; margin: auto; }
.product-lightbox [data-image-caption] { margin: 10px 0; font-size: .9rem; }
.product-lightbox-navigation { flex-wrap: wrap; }

.compression-time { font-size: .95rem; }
.compression-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 24px; }
.compression-summary article { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--background-light); }
.compression-summary span, .compression-summary small { color: var(--text-secondary); }
.compression-summary strong { color: var(--navy); font-size: 1.65rem; }
.spec-table.compression-table { min-width: 860px; }
.spec-table.compression-table th { width: auto; }
.compression-table caption { padding: 14px 0; color: var(--text-secondary); text-align: left; }
.spec-table.compression-table th:first-child { min-width: 280px; }
.compression-photo { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.compression-photo > a { flex: 0 0 64px; }
.compression-photo img { display: block; width: 64px; height: 64px; border-radius: 6px; object-fit: contain; background: #fff; }
.compression-photo small { display: block; margin-top: 5px; font-weight: 400; }
.compression-status { display: inline-block; padding: 5px 8px; border-radius: 5px; color: var(--success); background: #eaf6ed; font-size: .8rem; white-space: nowrap; }
.compression-status--neutral { color: var(--text-secondary); background: var(--background-light); }
.compression-note { margin: 20px 0; color: var(--text-secondary); font-size: .85rem; }

.product-meta {
    margin: 24px 0 30px;
    padding: 0;
    border-top: 1px solid var(--border-color);
}

.product-meta div {
    display: grid;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-color);
    grid-template-columns: 110px 1fr;
}

.product-meta dt {
    color: var(--text-secondary);
}

.product-meta dd {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.detail-sections {
    display: grid;
    min-width: 0;
    gap: 54px;
    grid-template-columns: minmax(0, 1fr);
}

.detail-section {
    width: 100%;
    min-width: 0;
    max-width: 850px;
}

.detail-section h2 {
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.detail-section p,
.detail-section li {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.table-wrap {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.spec-table th,
.spec-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: 0;
}

.spec-table th {
    width: 38%;
    color: var(--navy);
    background: var(--background-light);
}

/* ARTICLES */
.article-content {
    color: var(--text-secondary);
    font-size: 1.03rem;
}

.article-content h2 {
    margin-top: 44px;
    font-size: 1.65rem;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content li + li {
    margin-top: 8px;
}

/* CONTACT */
.contact-list {
    margin: 28px 0 0;
}

.contact-list div {
    padding: 17px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-list dt {
    margin-bottom: 3px;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 0;
    color: var(--navy);
    font-weight: 700;
}

.contact-form {
    padding: 34px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.form-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-note {
    margin: 14px 0 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
}

/* LEGAL PAGES */
.legal-layout {
    display: grid;
    align-items: start;
    gap: 48px;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
}

.legal-summary {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.legal-summary h2 {
    margin-bottom: 18px;
    font-size: 1.2rem;
}

.legal-summary p {
    margin: 0 0 18px;
    overflow-wrap: anywhere;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legal-summary p:last-child {
    margin-bottom: 0;
}

.legal-content {
    padding: 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.legal-content .legal-intro {
    margin-top: 0;
    color: var(--navy);
    font-size: 1.08rem;
}

.legal-content section {
    padding-top: 26px;
    border-top: 1px solid var(--border-color);
    margin-top: 26px;
}

.legal-content h2 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-secondary);
}

.legal-content address {
    color: var(--text-secondary);
    font-style: normal;
}

/* CTA */
.cta-section {
    position: relative;
    overflow: hidden;
    padding: 64px 0;
    background: linear-gradient(135deg, var(--navy), var(--blue-dark));
}

.cta-section::after {
    position: absolute;
    top: -100px;
    right: 8%;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-section h2,
.cta-section p {
    color: var(--white);
}

.cta-section h2 {
    margin-bottom: 10px;
}

.cta-section p {
    max-width: 690px;
    margin-bottom: 0;
    opacity: 0.85;
}

/* FOOTER */
.site-footer {
    color: rgba(255, 255, 255, 0.75);
    background: var(--footer-background);
}

.footer-main {
    display: grid;
    gap: 52px;
    padding: 64px 0 50px;
    grid-template-columns: minmax(250px, 1.5fr) repeat(3, minmax(130px, 0.7fr));
}

.footer-brand {
    margin-bottom: 17px;
    color: var(--white);
}

.footer-brand .brand-logo {
    height: 48px;
}

.footer-about {
    max-width: 360px;
}

.footer-contact {
    max-width: 390px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.65;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-contact a:hover {
    color: var(--gold-medium);
}

.footer-official-channels {
    margin-top: 24px;
}

.footer-official-channels h2 {
    margin-bottom: 11px;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.official-channel-list--footer .official-channel {
    min-width: 0;
    grid-template-columns: var(--channel-logo-width, 32px) minmax(0, 1fr) 22px;
    gap: 8px;
    padding: 8px;
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.official-channel-list--footer {
    grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
}

.official-channel-list--footer .official-channel--tiktok_shop {
    --channel-logo-width: 66px;
    --channel-icon-width: 58px;
}

.official-channel-list--footer .official-channel-logo {
    width: var(--channel-logo-width, 32px);
    height: 32px;
    border-radius: 9px;
    background: var(--white);
}

.official-channel-list--footer .official-channel-logo img {
    width: var(--channel-icon-width, 20px);
    height: 20px;
}

.official-channel-list--footer .official-channel-copy strong {
    color: var(--white);
    font-size: 0.78rem;
}

.official-channel-list--footer .official-channel-copy small {
    display: none;
}

.official-channel-list--footer .official-channel-arrow {
    width: 22px;
    height: 22px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.official-channel-list--footer .official-channel:hover {
    border-color: var(--gold-medium);
    color: var(--gold-medium);
    box-shadow: none;
}

.footer-column h2 {
    margin-bottom: 17px;
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column li + li {
    margin-top: 9px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--gold-medium);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.83rem;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
    .section {
        padding: 64px 0;
    }


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

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

    .footer-main {
        grid-template-columns: 1.5fr repeat(3, 0.75fr);
    }

    .filter-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .search-field {
        width: 100%;
    }

}

@media (max-width: 800px) {
    :root {
        --header-height: 68px;
    }

    .container {
        width: min(calc(100% - 36px), var(--container));
    }

    .header-inner {
        gap: 14px;
    }

    .header-inner > .brand {
        flex: 1 1 auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        right: 0;
        bottom: 0;
        left: 0;
        visibility: hidden;
        opacity: 0;
        background: var(--white);
        transform: translateY(-8px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }

    .site-nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-nav ul {
        display: block;
        width: min(calc(100% - 36px), var(--container));
        margin: 16px auto;
    }

    .site-nav a {
        padding: 15px 4px;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }

    .site-nav a.nav-hiflow-link {
        justify-content: flex-start;
        padding: 10px 4px;
    }

    .nav-hiflow-wordmark {
        height: 34px;
    }

    .site-nav a:hover,
    .site-nav a[aria-current="page"] {
        border-bottom-color: var(--border-color);
        color: var(--blue-primary);
    }

    .split-layout,
    .product-intro,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-summary {
        position: static;
    }

    .split-layout--reverse .split-media {
        order: 0;
    }

    .brand-principles {
        grid-template-columns: 1fr;
    }

    .corporate-flow {
        grid-template-columns: 1fr;
    }

    .corporate-flow li + li {
        border-top: 0;
        border-left: 1px solid var(--border-color);
    }

    .corporate-flow li:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -13px;
        content: "\2193";
        transform: translateX(50%);
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-main {
        gap: 38px;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 48px 0;
    }

    .section.related-products-section {
        padding: 32px 0;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-product-card {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 12px;
        min-height: 128px;
        padding: 12px;
    }

    .related-product-image {
        width: 76px;
        height: 76px;
    }

    .legal-content,
    .legal-summary {
        padding: 24px;
    }

    .official-channel-list:not(.official-channel-list--footer),
    .official-channel-list:not(.official-channel-list--footer) .official-channel {
        width: 100%;
    }

    .page-hero {
        padding: 50px 0 46px;
    }


    .hiflow-wordmark {
        height: 48px;
    }


    .article-grid,
    .content-grid,
    .info-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group--full {
        grid-column: auto;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-button {
        text-align: center;
    }

    .company-details div {
        gap: 4px;
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-main > :first-child {
        grid-column: auto;
    }
}

@media (max-width: 500px) {
    .container,
    .site-nav ul {
        width: min(calc(100% - 28px), 368px);
    }
}

@media (max-width: 480px) {
    .header-inner {
        gap: 10px;
    }

    .header-inner .brand {
        gap: 8px;
        font-size: 0.78rem;
        letter-spacing: 0;
    }

    .header-inner .brand-logo {
        height: 36px;
    }

    .header-inner .brand-name {
        max-width: 185px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }
}

@media (max-width: 400px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand {
        font-size: 0.78rem;
        letter-spacing: 0;
    }

    .brand-logo {
        height: 38px;
    }

    .brand-name {
        max-width: 175px;
    }

    .button-group .button {
        width: 100%;
    }

    .filter-buttons {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Corporate site layout */
:root { --radius: 4px; --radius-large: 5px; }
.site-header { box-shadow: none; }
.site-footer { border-top: 3px solid var(--gold-primary); }
.header-inner .brand-name { max-width: 21ch; line-height: 1.17; }
h1, h2, h3 { letter-spacing: -.028em; overflow-wrap: anywhere; }
.page-hero { padding: clamp(38px, 5.5vw, 76px) 0; background: var(--background-light); border-bottom: 1px solid var(--border-color); }
.page-hero h1 { max-width: 24ch; margin-bottom: 13px; }
.page-hero p { max-width: 68ch; }
.section { padding-block: clamp(38px, 6vw, 82px); }
.section--blue { background: var(--background-light); }
.portfolio-section--home + .catalog-showcase { padding-block-start: 0; }
.portfolio-track {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #aec0d0 transparent;
}
.portfolio-list { grid-auto-flow: column; grid-auto-columns: calc((100% + var(--tile-gap)) / var(--tile-columns) - var(--tile-gap)); }
.portfolio-list > li { scroll-snap-align: start; }
[data-portfolio-panel].is-visible .portfolio-list > li { animation: portfolio-card-in 440ms ease-out both; }
@keyframes portfolio-card-in { from { opacity: .6; transform: translateX(14px); } }
.portfolio-brand-link:focus-visible { outline-offset: -3px; }
.portfolio-wordmark { display: block; width: min(108px, 100%); height: 48px; object-fit: contain; }
.portfolio-controls { display: flex; gap: 4px; margin-top: 12px; }
.portfolio-controls[hidden], .portfolio-control[hidden] { display: none; }
.portfolio-control {
    display: grid;
    place-items: center;
    width: 36px;
    height: 34px;
    border: 1px solid #dce5ed;
    border-radius: 6px;
    background: var(--white);
    color: var(--navy);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}
.portfolio-control:hover { background: var(--background-blue); border-color: var(--blue-primary); }
.portfolio-control--toggle { font-size: .85rem; }
.brand-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.brand-grid:empty { display: none; }
.brand-card { padding: clamp(16px, 3vw, 32px); border-top: 2px solid var(--gold-primary); box-shadow: none; }
.brand-card-heading { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.brand-card-heading h3 { margin: 0; }
.brand-card-heading img { width: auto; height: 36px; max-width: 120px; object-fit: contain; }
.brand-hero__layout { display: grid; align-items: center; gap: clamp(18px, 4vw, 54px); }
.brand-hero__layout--media { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.brand-hero__logo { margin: 10px 0 20px; }
.brand-hero__logo img { width: auto; height: 50px; max-width: 100%; object-fit: contain; }
.brand-hero__image, .category-hero__image { height: auto; min-height: 0; object-fit: contain; background: var(--white); border: 1px solid var(--border-color); }
.brand-hero__image { aspect-ratio: 3 / 2; }
.category-hero__image { aspect-ratio: 1; width: min(100%, 320px); justify-self: end; }

.hero,
.brand-directory-hero,
.brand-hero {
    --mobile-cover-image: none;
    position: relative;
    isolation: isolate;
    color: var(--white);
    background: var(--footer-background);
}

.brand-directory-hero {
    padding: clamp(22px, 4vw, 44px) 0 clamp(100px, 11vw, 152px);
}

.brand-hero--hiflow {
    --hiflow-cover-surface: #e5e3e6;
    min-height: clamp(450px, 50vw, 600px);
    color: var(--navy);
    background: var(--hiflow-cover-surface);
}

.brand-hero--hiflow .brand-hero__layout {
    max-width: min(39vw, 32rem);
    padding-top: clamp(10px, 3vw, 44px);
}

.diagonal-cover-photo {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    overflow: hidden;
}

.diagonal-cover-photo img,
.diagonal-cover-photo::after {
    display: block;
    width: 100%;
    height: 100%;
}

.diagonal-cover-photo img {
    object-fit: cover;
    object-position: right center;
}

.diagonal-cover-photo::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(270deg, rgb(8 21 34 / 60%), rgb(8 21 34 / 14%) 14%, transparent 29%),
        linear-gradient(90deg, rgb(8 21 34 / 20%), rgb(8 21 34 / 33%) 36%, transparent 59%);
}

@media (min-width: 1201px) {
    .brand-hero--hiflow .diagonal-cover-photo {
        inset-inline-start: auto;
        width: 1200px;
        mask-image: linear-gradient(90deg, transparent, black 10%);
    }
}

.brand-directory-hero .breadcrumb,
.brand-hero .breadcrumb { color: #d9e6f3; }
.brand-directory-hero .breadcrumb a,
.brand-hero .breadcrumb a { color: var(--white); }
.brand-directory-hero .breadcrumb a:hover,
.brand-hero .breadcrumb a:hover { text-decoration: underline; }

.brand-directory-hero__copy {
    max-width: 35rem;
    padding-top: clamp(26px, 6vw, 84px);
}

.brand-directory-hero__copy .eyebrow { color: var(--gold-medium); }

.brand-directory-hero h1,
.brand-hero h1 {
    margin-bottom: 14px;
    color: var(--white);
    font-size: clamp(2.8rem, 7.2vw, 6.25rem);
    line-height: .99;
    letter-spacing: -.06em;
    overflow-wrap: anywhere;
}

.brand-directory-hero h1 { max-width: 9ch; }
.brand-directory-hero p,
.brand-hero p {
    max-width: 42ch;
    margin: 0;
    color: #e4edf6;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.brand-directory-hero .button-group,
.brand-hero .button-group { margin-top: 25px; }
.brand-directory-hero :focus-visible,
.brand-hero :focus-visible { outline-color: var(--gold-light); }

.button.brand-hero-action {
    gap: 9px;
    border-color: var(--gold-primary);
    color: var(--footer-background);
    background: var(--gold-primary);
}

.button.brand-hero-action:hover { border-color: var(--gold-medium); background: var(--gold-medium); }
.button.brand-hero-action--secondary { border-color: rgb(255 255 255 / 60%); background: rgb(8 21 34 / 45%); }
.button.brand-hero-action--secondary:hover { border-color: var(--white); background: var(--navy); }

.brand-hero--hiflow .breadcrumb,
.brand-hero--hiflow .breadcrumb a { color: var(--navy); }
.brand-hero--hiflow h1 { color: #e02024; }
.brand-hero--hiflow p { color: #314359; }
.brand-hero--hiflow :focus-visible { outline-color: var(--navy); }
.brand-hero--hiflow .button.brand-hero-action--secondary {
    border-color: var(--navy);
    color: var(--navy);
    background: rgb(255 255 255 / 70%);
}
.brand-hero--hiflow .button.brand-hero-action--secondary:hover { color: var(--white); background: var(--navy); }
.brand-hero--hiflow .diagonal-cover-photo::after {
    background: linear-gradient(90deg, rgb(245 244 246 / 48%), transparent 43%);
}

.brand-directory-feature {
    position: relative;
    z-index: 1;
    margin-top: calc(-1 * clamp(28px, 4vw, 60px));
    padding-bottom: clamp(38px, 6vw, 78px);
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.brand-spotlight {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--gold-primary);
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow-medium);
}

.brand-spotlight--media { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }

.brand-spotlight__content {
    align-self: center;
    padding: clamp(23px, 4.6vw, 62px);
}

.brand-spotlight__content h2 {
    margin: 0 0 15px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    overflow-wrap: anywhere;
}

.brand-spotlight__content h2 img {
    display: block;
    width: min(100%, 225px);
    height: auto;
}

.brand-spotlight__content p { max-width: 55ch; margin-bottom: 22px; color: var(--text-secondary); }
.brand-spotlight__content .button-group { align-items: center; gap: 12px 20px; }

.brand-spotlight__media {
    display: grid;
    align-items: center;
    min-width: 0;
    padding: clamp(12px, 2vw, 22px);
    border-left: 1px solid var(--border-color);
    background: var(--background-light);
}

.brand-spotlight__media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius-small);
    object-fit: contain;
}

.brand-spotlight__lines {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 23px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--border-color);
    list-style: none;
}

.brand-spotlight__lines a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-small);
    color: var(--navy);
    font-size: .88rem;
    font-weight: 700;
}

.brand-spotlight__lines a:hover { border-color: var(--blue-primary); background: var(--background-blue); }
.brand-directory-collection { border-top: 1px solid var(--border-color); background: var(--background-light); }
.brand-directory-collection .section-heading { margin-bottom: 24px; }
.brand-directory-collection .brand-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
.brand-card-cover { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: var(--radius-small); background: var(--background-light); }
.brand-hero__image { border-color: rgb(255 255 255 / 24%); }
#lini-hiflow { scroll-margin-top: var(--header-height); }

@media (max-width: 760px) {
    .brand-spotlight--media { grid-template-columns: minmax(0, 1fr); }
    .brand-spotlight__media { border-top: 1px solid var(--border-color); border-left: 0; }
    .brand-spotlight__content h2 img { width: min(100%, 180px); }
}

@media (min-width: 641px) and (max-width: 1020px) {
    .diagonal-cover-photo::after {
        background:
            linear-gradient(270deg, rgb(8 21 34 / 53%), transparent 26%),
            linear-gradient(90deg, rgb(8 21 34 / 64%), rgb(8 21 34 / 44%) 49%, transparent 77%);
    }

    .brand-hero--hiflow {
        min-height: clamp(340px, 50vw, 510px);
        padding: 32px 0 30px;
    }

    .brand-hero--hiflow .brand-hero__layout { max-width: min(36vw, 32rem); }
}

@media (max-width: 640px) {
    .hero,
    .brand-directory-hero,
    .brand-hero:has(> .diagonal-cover-photo) {
        padding-bottom: clamp(202px, 63vw, 404px);
        background:
            linear-gradient(180deg, rgb(8 21 34 / 26%), var(--footer-background) 320px),
            var(--mobile-cover-image) left top / auto max(330px, 110vw) no-repeat var(--footer-background);
    }
    .hero { min-height: 0; padding-top: 32px; }
    .hero-copy { max-width: none; }
    .hero-company { margin-bottom: 10px; }
    .hero h1 { font-size: clamp(2.1rem, 9.2vw, 3.65rem); }
    .hero .lead { margin: 14px 0 18px; font-size: .94rem; }
    .hero .button-group { gap: 8px; }
    .hero .button-group .button { width: auto; min-height: 44px; padding-inline: 10px; font-size: .82rem; }
    .brand-hero.brand-hero--hiflow {
        min-height: 0;
        padding-top: 30px;
        padding-bottom: calc(clamp(215px, 67vw, 430px) + 10px);
        background: var(--hiflow-cover-surface);
    }
    .brand-hero--hiflow .brand-hero__layout { max-width: none; padding-top: 0; }
    .brand-directory-hero__copy { padding-top: 16px; }
    .brand-directory-feature { margin-top: 0; padding-top: 18px; }

    .diagonal-cover-photo {
        inset: auto 0 0;
        height: clamp(215px, 67vw, 430px);
    }

    .diagonal-cover-photo img {
        width: 142%;
        max-width: none;
        margin-inline-start: -42%;
    }

    .diagonal-cover-photo::after {
        background:
            linear-gradient(270deg, rgb(8 21 34 / 46%), transparent 32%),
            linear-gradient(180deg, var(--footer-background), transparent 20%, transparent 82%, rgb(8 21 34 / 35%));
    }

    .brand-hero--hiflow .diagonal-cover-photo::after {
        background: linear-gradient(180deg, var(--hiflow-cover-surface), transparent 8%);
    }

    .brand-directory-hero .button-group .button,
    .brand-hero--hiflow .button-group .button {
        width: auto;
        min-height: 44px;
        padding-inline: 12px;
        font-size: .88rem;
    }
}

.catalog-showcase { padding-block: clamp(24px, 3.5vw, 46px); scroll-margin-top: var(--header-height); }
.catalog-showcase > .container { container-type: inline-size; }
.catalog-showcase__header { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 18px; }
.catalog-showcase__header h2 { margin: 0; padding-inline-start: 10px; border-inline-start: 3px solid var(--gold-primary); font-size: clamp(1.2rem, 2.35vw, 1.7rem); line-height: 1.25; }
.catalog-showcase__header .text-link { font-size: .83rem; }
.catalog-tiles { --tile-columns: 3; --tile-gap: 12px; display: grid; gap: var(--tile-gap); margin: 0; padding: 0; list-style: none; }
@container (min-width: 604px) { .catalog-tiles { --tile-columns: 4; } }
@container (min-width: 758px) { .catalog-tiles { --tile-columns: 5; } }
@container (min-width: 912px) { .catalog-tiles { --tile-columns: 6; } }
@container (min-width: 1066px) { .catalog-tiles { --tile-columns: 7; } }
.category-tiles { grid-template-columns: repeat(var(--tile-columns), minmax(0, 1fr)); }
.catalog-tiles > li { min-width: 0; margin: 0; }
.catalog-tile {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 9px;
    min-height: 112px;
    height: 100%;
    padding: 12px 8px;
    border: 1px solid #dfe6ee;
    border-radius: 10px;
    color: var(--navy);
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
    transition: border-color var(--transition), background-color var(--transition);
}
.category-tile { background: var(--white); }
.catalog-tile:is(:hover, :focus-visible) { border-color: var(--blue-primary); background: var(--background-blue); text-decoration: none; }
.category-tile__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 11px; background: var(--navy); }
.category-tile__icon img { display: block; width: 36px; height: 36px; object-fit: contain; }
.category-tile__icon--cover { overflow: hidden; background: var(--background-light); }
.category-tile__icon--cover img { width: 100%; height: 100%; }
.homepage-media-slider__image { object-fit: contain; }
.card, .related-product-card, .contact-form, .legal-summary, .legal-content { box-shadow: none; }
.product-grid, .article-grid { align-items: start; }
.product-card .card-media { height: auto; min-height: 0; aspect-ratio: 1; object-fit: contain; }
.related-product-image { aspect-ratio: 1; object-fit: contain; }
.product-gallery-image { border-radius: 3px; }
.product-card .card-body, .product-meta dd, .spec-table td { overflow-wrap: anywhere; }
.cta-section { background: var(--navy); }
.cta-section::after { content: none; }
#contact-form, #produk-pilihan { scroll-margin-top: var(--header-height); }
.featured-product-more { display: none; }

@media (max-width: 860px) {
    .brand-hero__layout--media { grid-template-columns: minmax(0, 1fr); }
    .category-hero__image { justify-self: start; width: min(100%, 240px); }
}
@media (prefers-reduced-motion: reduce) {
    [data-portfolio-panel].is-visible .portfolio-list > li { animation: none; }
}

@media (max-width: 700px) {
    .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
    .catalog-filters .search-field,
    .catalog-filters:has([data-line-filter-field][hidden]) > :nth-child(2) { grid-column: 1 / -1; }
    .filter-toolbar { padding: 12px; gap: 10px; margin-bottom: 26px; }
}

@media (max-width: 600px) {
    .featured-product-list {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: min(calc((100% - 32px) / 2), 180px);
        align-items: stretch;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        padding-bottom: 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: #aec0d0 transparent;
    }
    .featured-product-list .product-card { scroll-snap-align: start; }
    .featured-product-list .product-card:nth-of-type(n+5) { display: none; }
    .featured-product-more {
        display: grid;
        align-content: center;
        justify-items: center;
        gap: 12px;
        padding: 12px;
        border: 1px solid #dfe6ee;
        border-radius: 10px;
        background: var(--white);
        color: var(--blue-dark);
        font-size: .9rem;
        font-weight: 700;
        text-align: center;
        scroll-snap-align: end;
    }
    .featured-product-more span {
        display: grid;
        width: 38px;
        height: 38px;
        place-items: center;
        border-radius: 50%;
        background: var(--background-blue);
        font-size: 1.2rem;
    }
    .featured-product-more:is(:hover, :focus-visible) { border-color: var(--blue-primary); text-decoration: none; }
    .featured-product-list :focus-visible { outline-offset: -2px; }

    .catalog-tiles { --tile-gap: 8px; }
    .catalog-tile { min-height: 92px; padding: 8px 4px; font-size: .79rem; }
    .portfolio-wordmark { width: min(96px, 100%); height: 40px; }
    .category-tile__icon { width: 40px; height: 40px; }
    .category-tile__icon img { width: 31px; height: 31px; }
    .category-tile__icon--cover img { width: 100%; height: 100%; }
}

@media (max-width: 360px) {
    .catalog-tile { min-height: 100px; }
}

/* Product storefront */
.shop-catalog { background: #f4f6f8; }
.shop-header {
    padding: 25px 0 30px;
    color: white;
    background: var(--navy);
    border-bottom: 3px solid var(--gold-primary);
}
.shop-header .breadcrumb { margin-bottom: 15px; font-size: .8rem; color: #d4e0eb; }
.shop-header .breadcrumb a { color: white; }
.shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.shop-heading h1 { margin: 0; color: white; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.shop-search {
    display: flex;
    align-items: center;
    gap: 15px;
    width: min(100%, 550px);
    padding-inline: 17px;
    border-radius: 8px;
    background: white;
}
.shop-search:focus-within { outline: 3px solid var(--gold-primary); }
.shop-search-icon { position: relative; width: 15px; height: 15px; flex: none; border: 2px solid var(--navy); border-radius: 50%; }
.shop-search-icon::after { position: absolute; right: -6px; bottom: -3px; width: 7px; height: 2px; background: var(--navy); transform: rotate(45deg); content: ""; }
.shop-search input { width: 100%; min-width: 0; height: 48px; padding: 0; border: 0; outline: 0; font: inherit; color: var(--navy); background: transparent; }
.shop-categories { background: white; border-bottom: 1px solid var(--border-color); scroll-margin-top: var(--header-height); }
.shop-category-rail { display: flex; gap: 8px; overflow-x: auto; padding-block: 15px; scrollbar-width: thin; }
.shop-category-rail a {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: 7px;
    border: 1px solid var(--border-color);
    font-size: .84rem;
    font-weight: 650;
    color: var(--navy);
}
.shop-category-rail a:is(.is-active, :hover) { border-color: var(--navy); background: #edf3f8; text-decoration: none; }
.shop-category-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 5px; background: var(--navy); color: white; overflow: hidden; }
.shop-category-icon img { width: 100%; height: 100%; object-fit: contain; }
.shop-grid-icon { width: 6px; height: 6px; background: currentColor; box-shadow: 8px 0, 0 8px, 8px 8px; transform: translate(-4px,-4px); }
.shop-results { padding-block: 22px 60px; }
.shop-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.shop-toolbar p { flex: 1; margin: 0; color: var(--navy); font-weight: 650; font-size: .92rem; }
.shop-control, .shop-reset { min-height: 40px; padding: 6px 12px; color: var(--navy); font: inherit; font-size: .84rem; cursor: pointer; }
.shop-control { border: 1px solid #cdd6df; border-radius: 6px; background: white; }
.shop-control[aria-expanded="true"] { border-color: var(--navy); }
.shop-reset { border: 0; background: transparent; text-decoration: underline; }
.shop-options { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; padding: 16px; border: 1px solid var(--border-color); border-radius: 8px; background: white; }
.shop-options label { flex: 1 1 140px; max-width: 300px; font-size: .84rem; font-weight: 650; }
.shop-options select { margin-top: 4px; }
.shop-grid { grid-template-columns: repeat(6,minmax(0,1fr)); align-items: stretch; gap: 12px; }
.shop-grid .product-card { position: relative; border-radius: 10px; }
.shop-grid .card-body { display: flex; flex: 1; flex-direction: column; padding: clamp(8px,1.2vw,14px); }
.shop-grid .product-labels { gap: 5px; margin-bottom: 6px; }
.shop-grid .product-card h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 4px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.3;
    font-size: clamp(.875rem,1.2vw,1rem);
}
.shop-card-link { display: flex; flex: 1; flex-direction: column; color: inherit; }
.shop-card-link:hover { color: inherit; text-decoration: none; }
.shop-grid .product-card:focus-within { outline: 2px solid var(--blue-primary); outline-offset: 2px; }
.shop-grid .product-card-model { margin-bottom: 8px; font-weight: 600; }
.shop-grid .product-card-commerce { margin: auto 0 0; gap: 2px 6px; padding-top: 7px; border-top: 1px solid var(--border-color); line-height: 1.35; }
.shop-grid .product-card-commerce strong { font-size: clamp(1rem,1.4vw,1.15rem); }
.shop-grid [data-stock] { font-size: .75rem; }
.shop-grid [data-stock="in_stock"] { color: #226348; }
@media (max-width: 900px) {
    .shop-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .shop-header { padding-block: 13px 16px; }
    .shop-header .breadcrumb { margin-bottom: 8px; }
    .shop-heading { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .shop-search input { height: 44px; font-size: 1rem; }
    .shop-category-rail { padding-block: 10px; }
    .shop-results { padding-top: 12px; }
    .shop-toolbar { gap: 5px; margin-bottom: 12px; }
    .shop-control, .shop-reset { min-height: 44px; padding-inline: 8px; }
    .shop-toolbar p { font-size: .8rem; }
    .shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
    .shop-grid .line-badge { padding: 2px 5px; }
}
@media (max-width: 374px) {
    .shop-grid { grid-template-columns: repeat(2,minmax(0,132px)); }
}

/* Catalog artwork carousel */
.catalog-banner {
    position: relative;
    width: min(100%, 810px);
    margin: 0 auto 18px;
    overflow: hidden;
    border-radius: 12px;
    background: #edf1f5;
    box-shadow: 0 3px 13px rgb(15 41 66 / 8%);
}
.catalog-banner.is-empty {
    background: linear-gradient(110deg, #f1f4f7, #e9eef3);
    box-shadow: inset 0 0 0 1px var(--border-color);
}
.catalog-banner-stage {
    display: flex;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.catalog-banner-stage::-webkit-scrollbar { display: none; }
.catalog-banner-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.catalog-banner-slide picture, .catalog-banner-slide img { display: block; width: 100%; height: 100%; }
.catalog-banner-slide img { object-fit: contain; }
.catalog-banner-controls {
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    max-width: calc(100% - 16px);
    padding-inline: 3px;
    border-radius: 20px;
    background: rgb(14 30 45 / 48%);
    color: white;
}
.catalog-banner-controls [data-banner-dots] { display: flex; overflow-x: auto; scrollbar-width: none; }
.catalog-banner-controls button {
    display: grid;
    flex: none;
    min-width: 24px;
    min-height: 24px;
    padding: 0;
    place-items: center;
    border: 0;
    color: inherit;
    background: transparent;
    font-size: .72rem;
    cursor: pointer;
}
.catalog-banner-controls [data-banner-dots] button::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 1px solid white;
    border-radius: 8px;
}
.catalog-banner-controls [data-banner-dots] button[aria-current="true"]::before { width: 18px; background: white; }
.catalog-banner :focus-visible { outline-offset: -2px; }
@media (max-width: 640px) {
    .catalog-banner { border-radius: 9px; margin-bottom: 12px; }
}

/* Company profile */
.company-masthead {
    position: relative;
    isolation: isolate;
    background: linear-gradient(120deg, #0a213a, #163d62);
    color: white;
}
.company-masthead__copy {
    max-width: 48rem;
    padding-block: clamp(28px, 4vw, 64px) clamp(40px, 5vw, 80px);
}
.company-masthead:has(> .split-media) .company-masthead__copy { max-width: min(47%, 37rem); }
.company-masthead .breadcrumb { margin-bottom: clamp(27px, 3vw, 48px); }
.company-masthead .breadcrumb, .company-masthead .breadcrumb a { color: #c9d7e3; }
.company-masthead .eyebrow, .company-work .eyebrow { color: var(--gold-medium); }
.company-masthead h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.5rem, 4.3vw, 4.8rem);
    color: white;
    letter-spacing: -.048em;
    line-height: 1.02;
    text-wrap: balance;
}
.company-masthead p { max-width: 49ch; margin: 0; color: #dce5ef; line-height: 1.65; }
.company-masthead__link {
    display: inline-flex;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
    padding: 5px 0;
    color: white;
    border-bottom: 2px solid var(--gold-primary);
    font-weight: 700;
}
.company-masthead__link:hover, .company-masthead__link span { color: var(--gold-medium); }
.company-masthead > .split-media {
    position: absolute;
    inset: 0 0 0 auto;
    width: 50%;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}
.company-masthead .homepage-media-slider {
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
}
.company-masthead .homepage-media-slider__image {
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.company-masthead .homepage-media-slider__controls { bottom: 20px; }
.company-facts { border-bottom: 1px solid var(--border-color); background: var(--background-light); }
.company-facts dl { display: grid; grid-template-columns: 1.4fr 1fr 1fr; margin-block: 0; padding-block: 24px; }
.company-facts dl > div + div { border-left: 1px solid #cad5df; padding-left: clamp(24px, 5vw, 80px); }
.company-facts dt { font-size: .81rem; color: #4a6279; }
.company-facts dd { margin: 2px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 700; color: var(--navy); }
.company-chapter, .company-work, .company-contact { padding-block: clamp(48px, 6vw, 88px); }
.company-chapter { scroll-margin-top: var(--header-height); }
.company-story, .company-direction { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: clamp(30px, 7vw, 118px); }
.company-story h2, .company-direction h2 { margin: 12px 0; font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.company-prose p, .company-operations p, .company-direction p, .company-direction ul { color: #465d72; }
.company-prose p { margin: 0 0 12px; }
.company-operations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: 38px; }
.company-operations article { border-top: 2px solid var(--navy); padding-top: 20px; }
.company-operations header { margin: 0 0 10px; }
.company-operations header span { font-size: .85rem; color: var(--blue-dark); font-weight: 700; }
.company-operations h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.025em; line-height: 1.16; margin: 6px 0; }
.company-operations p { margin: 0; max-width: 62ch; }
.company-operations .split-media { margin-bottom: 18px; }
.company-operations .homepage-media-slider { min-height: 0; aspect-ratio: 3/2; }
.company-operations .homepage-media-slider__image { height: 100%; }
.company-work { background: #102d48; color: white; }
.company-work h2, .company-work dt { color: white; }
.company-work__list { margin: 0; }
.company-work__list div { padding: 15px 0; border-top: 1px solid #496076; }
.company-work__list dt { font-size: 1.15rem; font-weight: 700; }
.company-work__list dd { color: #d4e1eb; margin: 3px 0 0; }
.company-direction { border-top: 1px solid var(--border-color); }
.company-direction ul { padding-left: 20px; }
.company-direction li + li { margin-top: 6px; }
.company-contact { background: var(--background-light); }
.company-contact .button { margin-top: 16px; }
.company-contact .company-details { margin: 0; }
.company-contact .company-details > div { grid-template-columns: minmax(8rem, .65fr) minmax(0, 1fr); }
@media (max-width: 760px) {
    .company-masthead:has(> .split-media) .company-masthead__copy { max-width: 100%; }
    .company-masthead__copy { padding-block: 22px 28px; }
    .company-masthead .breadcrumb { margin-bottom: 20px; }
    .company-masthead > .split-media { position: relative; width: 100%; clip-path: none; }
    .company-masthead .homepage-media-slider { height: clamp(210px, 55vw, 360px); }
    .company-masthead .homepage-media-slider__controls { bottom: 12px; }
    .company-facts dl { grid-template-columns: 1fr 1fr; gap: 12px 18px; padding-block: 18px; }
    .company-facts dl > div:first-child { grid-column: 1/-1; }
    .company-facts dl > div + div { border: 0; padding-left: 0; }
    .company-story, .company-direction, .company-operations { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .company-contact .company-details > div { grid-template-columns: minmax(0, 1fr); }
}

/* Article index and reading layout */
.journal-index, .journal-reader { padding-block: clamp(22px, 3vw, 44px) clamp(56px, 6vw, 92px); }
.journal-index .breadcrumb, .journal-reader .breadcrumb, .contact-page .breadcrumb { margin-bottom: clamp(22px, 3vw, 40px); }
.journal-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--navy);
    margin-bottom: clamp(22px, 3vw, 36px);
}
.journal-heading h1, .contact-desk h1 { margin: 0; font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.05em; }
.journal-heading p { margin: 0; max-width: 40ch; color: #455b70; }
.journal-feature {
    position: relative;
    display: grid;
    align-items: center;
    background: #102d48;
    color: white;
    border-radius: 8px;
    overflow: hidden;
}
.journal-feature:has(.journal-feature__image) { grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); }
.journal-feature__image { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.journal-feature__copy { padding: clamp(24px, 3vw, 48px); max-width: 55rem; overflow-wrap: anywhere; }
.journal-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; font-weight: 700; }
.journal-meta span { padding-left: 10px; border-left: 3px solid var(--gold-primary); }
.journal-meta time { font-weight: 400; }
.journal-feature .journal-meta { color: #dce7f1; }
.journal-feature h2 { margin: 16px 0 12px; font-size: clamp(1.65rem, 2.65vw, 2.75rem); line-height: 1.13; letter-spacing: -.035em; }
.journal-feature h2 a { color: white; }
.journal-feature h2 a::after { content: ""; position: absolute; inset: 0; }
.journal-feature:focus-within { outline: 3px solid var(--blue-primary); outline-offset: 3px; }
.journal-feature__copy p { margin: 0; color: #dbe5ed; line-height: 1.6; }
.journal-feature__action { display: inline-flex; gap: 16px; margin-top: 20px; color: #ffdc7c; font-weight: 700; }
.journal-feature:hover .journal-feature__action { text-decoration: underline; }
.journal-archive { margin-top: clamp(40px, 5vw, 76px); }
.journal-archive > h2 { margin-bottom: 20px; }
.journal-empty { padding-block: 30px; }
.journal-reader__header { max-width: 54rem; margin: 0 auto; padding-top: 18px; border-top: 2px solid var(--navy); }
.journal-reader__header h1 { margin: 18px 0; font-size: clamp(2rem, 4vw, 3.9rem); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
.journal-intro { max-width: 68ch; margin: 0; color: #475d70; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.journal-reader__image { width: 100%; max-width: 54rem; height: auto; margin: clamp(20px, 3vw, 36px) auto 0; border-radius: 6px; }
.journal-reader__body { max-width: 66ch; margin: clamp(28px, 4vw, 56px) auto 0; overflow-wrap: anywhere; }
.journal-reader .article-content { line-height: 1.8; color: #344b5e; }
.journal-return { display: block; border-top: 1px solid var(--border-color); margin-top: 34px; padding-top: 20px; font-weight: 700; }

/* Contact desk */
.contact-page { background: var(--background-light); padding-block: clamp(22px, 3vw, 44px) clamp(48px, 6vw, 84px); }
.contact-desk { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); border-radius: 8px; overflow: hidden; border: 1px solid #d4dfe9; background: white; }
.contact-desk__info, .contact-desk .contact-form { padding: clamp(24px, 3.5vw, 54px); }
.contact-desk__info { color: white; background: linear-gradient(150deg, #183e63, #0c233b); }
.contact-desk__info .eyebrow { color: #ffda75; }
.contact-desk__info h1 { color: white; margin: 12px 0 18px; font-size: clamp(2.65rem, 4.8vw, 4.2rem); }
.contact-desk__info > p { color: #dae5ef; max-width: 40ch; margin: 0; }
.contact-desk .contact-list div { border-top: 1px solid #486580; border-bottom: 0; }
.contact-desk .contact-list dt { color: #bfd2e2; }
.contact-desk .contact-list dd, .contact-desk .contact-list a { color: white; }
.contact-desk .contact-list dd { overflow-wrap: anywhere; font-weight: 500; }
.contact-desk .contact-list a { text-decoration: underline; text-underline-offset: .22em; }
.contact-jump { display: none; }
.contact-desk .contact-form { border: 0; border-radius: 0; scroll-margin-top: calc(var(--header-height) + 8px); }
.contact-desk .contact-form h2 { font-size: clamp(1.65rem, 2.7vw, 2.4rem); margin: 0; letter-spacing: -.035em; }
.contact-desk .contact-form > p { color: #4d6376; margin: 6px 0 24px; }
.contact-desk .form-label small { font-weight: 400; color: #526779; }
.contact-desk .form-control { background: #f8fafc; }
.contact-desk [data-form-status]:empty { margin: 0; }
@media (max-width: 760px) {
    .journal-heading { display: grid; gap: 10px; }
    .journal-feature:has(.journal-feature__image), .contact-desk { grid-template-columns: minmax(0, 1fr); }
    .journal-feature__copy { padding: 22px; }
    .journal-feature h2 { margin-top: 10px; }
    .contact-desk__info, .contact-desk .contact-form { padding: 24px 20px; }
    .contact-jump { display: inline-flex; gap: 14px; margin-top: 16px; padding: 4px 0; color: white; font-weight: 700; border-bottom: 2px solid var(--gold-primary); }
    .contact-jump:hover { color: var(--gold-medium); }
    .contact-desk .contact-list { margin-top: 20px; }
    .contact-desk .contact-list div { padding-block: 12px; }
}
