/* SAI ASIA GROUP — Concept 1 homepage
   Charcoal #171717 · Deep red #B82025 · White #FFFFFF · Light grey #F4F4F4 */

:root {
    --ink: #171717;
    --red: #B82025;
    --red-dark: #96181c;
    --white: #ffffff;
    --grey: #F4F4F4;
    --muted: #5e5e5e;
    --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.skip-link {
    position: absolute;
    left: 16px;
    top: -40px;
    z-index: 100;
    background: var(--white);
    color: var(--ink);
    padding: 8px 12px;
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

.wrap {
    width: min(1240px, calc(100% - 64px));
    margin-inline: auto;
}

.rule {
    display: block;
    width: 46px;
    height: 3px;
    background: var(--red);
    flex-shrink: 0;
}
.rule-sm { width: 34px; height: 3px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border: 0;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--grey); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--white);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    gap: 24px;
}

.brand { display: block; line-height: 0; flex-shrink: 0; }
.brand img { width: 236px; height: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}
.site-nav > a:not(.btn) {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    padding: 8px 0;
}
.site-nav > a:not(.btn):hover { color: var(--red); }
.site-nav .btn { margin-left: 6px; padding: 12px 18px; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.nav-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}
.nav-toggle-bars span {
    display: block;
    height: 2px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    background: #0c121b;
    color: var(--white);
    overflow: hidden;
}
.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 14, 24, .78) 0%, rgba(8, 14, 24, .55) 32%, rgba(8, 14, 24, .18) 58%, rgba(8, 14, 24, .04) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-copy {
    max-width: 680px;
    padding: 72px 0;
}
.hero h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--white);
}
.hero h1 span { display: block; }
.hero .rule { margin: 22px 0 18px; }
.hero p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, .94);
    margin-bottom: 28px;
}

/* Introduction and businesses */
.intro {
    padding: 54px 0 68px;
    scroll-margin-top: 96px;
    background: var(--white);
}
.intro > .wrap > .rule:first-child { margin-bottom: 16px; }
.intro-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}
.intro > .wrap > p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 36px;
}
.biz-label {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
}
.biz-label + .rule { margin-bottom: 22px; }

.biz-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.biz-card {
    display: flex;
    flex-direction: column;
    background: var(--grey);
    color: var(--ink);
    min-width: 0;
}
.biz-card:hover h3 { color: var(--red); }
.biz-media {
    aspect-ratio: 16 / 10.4;
    overflow: hidden;
    background: #e6e6e6;
}
.biz-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.biz-card:hover .biz-media img { transform: scale(1.04); }
.biz-body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}
.biz-body h3 {
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    min-height: 2.7em;
}
.biz-body .rule { margin: 0; }
.biz-body small {
    font-size: 13px;
    font-weight: 400;
    color: #8a8a8a;
    line-height: 1.3;
}

/* Enquiry band and footer */
.band { background: var(--ink); color: var(--white); }
.band-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 36px 0 30px;
}
.band-main h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--white);
}
.band-foot {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr 1.15fr;
    gap: 36px;
    padding: 34px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.brand-reverse img { width: 210px; }
.foot-about {
    margin: 16px 0 0;
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .68);
}
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
}
.foot-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.foot-social svg { width: 15px; height: 15px; }
.foot-col h3 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.foot-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--red);
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li + li { margin-top: 10px; }
.foot-col a {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .68);
}
.foot-col a:hover { color: #fff; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 14px; height: 14px; margin-top: 4px; flex-shrink: 0; color: var(--red); }
.band-copy {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 18px 0 26px;
}
.band-copy p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
}

@media (max-width: 1199px) {
    .hero { min-height: 520px; }
    .hero h1 { font-size: 48px; }
    .biz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .band-foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .wrap { width: min(1240px, calc(100% - 40px)); }
    .nav-toggle { display: inline-flex; }
    .site-header { position: sticky; }
    .header-bar { position: relative; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 20px 18px;
        background: var(--white);
        box-shadow: 0 18px 32px rgba(0, 0, 0, .08);
    }
    .site-nav.is-open { display: flex; }
    .site-nav > a:not(.btn) {
        font-size: 17px;
        padding: 14px 0;
        border-bottom: 1px solid #ececec;
    }
    .site-nav .btn {
        margin: 16px 0 0;
        align-self: flex-start;
    }
    .brand img { width: 180px; }
    .hero { min-height: 460px; }
    .hero h1 { font-size: 40px; }
    .intro-title { font-size: 32px; }
    .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .wrap { width: min(1240px, calc(100% - 32px)); }
    .header-bar { min-height: 72px; }
    .brand img { width: 164px; }
    .hero {
        min-height: 440px;
        align-items: flex-end;
    }
    .hero-media { object-position: 68% center; }
    .hero-shade {
        background: linear-gradient(180deg, rgba(8, 14, 24, .35) 0%, rgba(8, 14, 24, .55) 38%, rgba(8, 14, 24, .78) 100%);
    }
    .hero-copy { padding: 36px 0 40px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 16px; }
    .intro { padding: 40px 0 48px; }
    .intro-title { font-size: 30px; }
    .intro > .wrap > p { font-size: 16px; margin-bottom: 28px; }
    .biz-grid { grid-template-columns: 1fr; gap: 14px; }
    .biz-body h3 { min-height: 0; }
    .band-main { flex-direction: column; align-items: flex-start; }
    .band-main { padding: 32px 0 22px; }
    .band-main h2 { font-size: 26px; }
    .band-foot { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
    .brand-reverse img { width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .biz-media img,
    .nav-toggle-bars span,
    .btn { transition: none; }
}
