@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #071a3d;
    --navy-2: #0d2857;
    --blue: #0b4ea2;
    --electric: #1677ff;
    --sky: #dcebff;
    --pale: #f2f6fb;
    --ink: #11213d;
    --muted: #6d7d96;
    --line: rgba(7, 26, 61, .14);
    --orange: #ffb547;
    --white: #fff;
    --radius-lg: 28px;
    --shadow: 0 18px 48px rgba(7, 26, 61, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: 'Noto Sans Thai', sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: min(1160px, calc(100% - 56px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.topbar { position: relative; z-index: 20; color: rgba(255,255,255,.75); background: var(--navy); font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif; font-size: 11px; letter-spacing: .04em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar a { color: var(--white); font-weight: 700; }
.status-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,181,71,.15); }

.site-header { position: absolute; top: 36px; left: 0; z-index: 10; width: 100%; color: var(--white); transition: background .25s ease, top .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { position: fixed; top: 0; background: rgba(7, 26, 61, .94); backdrop-filter: blur(14px); box-shadow: 0 8px 24px rgba(7, 26, 61, .12); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 90px; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand-mark { display: inline-flex; position: relative; width: 30px; height: 30px; border: 2px solid currentColor; transform: skewY(-8deg); }
.brand-mark span { position: absolute; inset: 5px 5px auto; height: 2px; background: currentColor; }
.brand-mark span:nth-child(2) { top: 13px; inset-inline: 5px; }
.brand-mark span:nth-child(3) { top: 20px; inset-inline: 5px; }
.brand-copy { display: flex; flex-direction: column; gap: 5px; }
.brand-copy strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; letter-spacing: .06em; }
.brand-copy small { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .31em; opacity: .64; }
.primary-nav { display: flex; align-items: center; gap: 32px; font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif; font-size: 12px; font-weight: 600; }
.primary-nav > a:not(.nav-cta) { opacity: .8; transition: opacity .2s ease; }
.primary-nav > a:not(.nav-cta):hover { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: var(--white); transition: background .2s ease, color .2s ease; }
.nav-cta:hover { color: var(--navy); background: var(--white); }
.menu-toggle { display: none; padding: 10px; border: 0; color: var(--white); background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: var(--navy); }
.hero__image, .hero__wash { position: absolute; inset: 0; }
.hero__image { background-image: url('/assets/images/cover.webp'); background-position: center; background-size: cover; }
.hero__wash { background: linear-gradient(90deg, rgba(7,26,61,.96) 0%, rgba(7,26,61,.80) 38%, rgba(7,26,61,.08) 78%), linear-gradient(0deg, rgba(7,26,61,.32), transparent 55%); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 760px; padding-top: 62px; }
.hero__eyebrow, .section-label, .contact-block__label { display: flex; align-items: center; gap: 12px; color: var(--electric); font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.hero__eyebrow { color: rgba(255,255,255,.7); }
.eyebrow-line, .section-label__line { display: inline-block; width: 32px; height: 1px; background: currentColor; }
.hero h1 { max-width: 690px; margin: 26px 0 20px; font-size: clamp(52px, 7vw, 90px); font-weight: 800; letter-spacing: -.065em; line-height: 1.08; }
.hero h1 em, .section-head h2 em, .contact h2 em { color: var(--orange); font-style: normal; }
.hero__description { max-width: 410px; margin: 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.8; }
.hero__actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif; font-size: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 22px rgba(7,26,61,.2); }
.button--primary { color: var(--navy); background: var(--orange); }
.button--dark { color: var(--white); background: var(--navy); }
.button--wide { width: 100%; margin-top: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--blue); font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif; font-size: 12px; font-weight: 800; transition: gap .2s ease; }
.text-link:hover { gap: 16px; }
.text-link--light { color: var(--white); border-color: rgba(255,255,255,.5); }
.hero__meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-bottom: 48px; color: rgba(255,255,255,.55); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.hero__meta > span:first-child { color: var(--orange); }
.hero__meta-rule { width: 58px; height: 1px; background: rgba(255,255,255,.35); }
.hero__side-note { position: absolute; right: 38px; bottom: 60px; z-index: 2; color: rgba(255,255,255,.44); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9px; letter-spacing: .17em; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero__side-note span { display: block; width: 1px; height: 46px; margin: 14px auto; background: currentColor; }

.section { padding: 128px 0; }
.section--light { background: var(--white); }
.section--pale { background: var(--pale); }
.section--blue { color: var(--white); background: var(--blue); }
.section--navy { color: var(--white); background: var(--navy); }
.section-label { color: var(--electric); white-space: nowrap; }
.section-label--light { color: rgba(255,255,255,.68); }
.intro__grid { display: grid; grid-template-columns: 1fr 1.75fr .75fr; gap: 72px; }
.intro__body { padding-top: 42px; }
.kicker { margin: 0 0 16px; color: var(--electric); font-family: 'Plus Jakarta Sans', 'Noto Sans Thai', sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
h2 { margin: 0; font-size: clamp(38px, 5vw, 66px); letter-spacing: -.06em; line-height: 1.16; }
.intro h2 span, .section-head h2 span { color: var(--blue); }
.intro .lead { max-width: 510px; margin: 25px 0 31px; color: var(--muted); font-size: 18px; line-height: 1.9; }
.intro__aside { padding-top: 172px; }
.company-logo { display: flex; align-items: center; justify-content: flex-start; width: 86px; height: 86px; margin-bottom: 34px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.company-logo img { width: 100%; height: 100%; object-fit: contain; }
.outline-number { color: transparent; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 114px; font-weight: 800; letter-spacing: -.09em; line-height: .8; -webkit-text-stroke: 1px var(--electric); }
.intro__aside p { margin: 19px 0; font-size: 15px; font-weight: 700; line-height: 1.65; }
.intro__aside p.muted { color: var(--muted); font-size: 13px; font-weight: 400; }
.mini-rule { width: 80px; height: 1px; margin: 26px 0; background: var(--line); }
.stats-band { background: var(--sky); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 28px 0 34px; }
.stat { display: flex; align-items: center; gap: 22px; padding: 10px 34px; border-right: 1px solid rgba(11,78,162,.18); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat strong { color: var(--blue); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 42px; letter-spacing: -.07em; line-height: 1; }
.stat span { color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1.5; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 72px; }
.section-head h2 { margin-top: 23px; }
.section-head > p { max-width: 350px; margin: 0 0 6px; color: rgba(255,255,255,.68); font-size: 16px; }
.service-list { border-top: 1px solid rgba(255,255,255,.25); }
.service-row { display: grid; grid-template-columns: 70px 1.1fr 1.35fr 76px 52px; align-items: center; gap: 26px; min-height: 155px; border-bottom: 1px solid rgba(255,255,255,.25); }
.service-row__number { color: rgba(255,255,255,.44); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 700; }
.service-row__title span { color: var(--orange); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.service-row__title h3 { margin: 7px 0 0; font-size: 25px; line-height: 1.28; white-space: pre-line; }
.service-row p { max-width: 390px; margin: 0; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.75; }
.service-row__image { width: 72px; height: 54px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; background: rgba(255,255,255,.12); }
.service-row__image img { width: 100%; height: 100%; object-fit: cover; }
.round-arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; transition: color .2s ease, background .2s ease, transform .2s ease; }
.round-arrow:hover { color: var(--blue); background: var(--white); transform: rotate(45deg); }
.service-row--orange .service-row__number { color: var(--orange); }

.work .section-head { margin-bottom: 54px; }
.section-head__row { display: flex; align-items: end; justify-content: space-between; width: 100%; gap: 48px; }
.section-head__row p { max-width: 300px; margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.project-grid { display: grid; grid-template-columns: 1.45fr .9fr .9fr; align-items: start; gap: 25px; }
.project-card__image { position: relative; overflow: hidden; background: var(--sky); }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.project-card:hover .project-card__image img { transform: scale(1.05); }
.project-card--wide .project-card__image { height: 440px; }
.project-card--tall { margin-top: 86px; }
.project-card--tall .project-card__image { height: 355px; }
.project-card--small { margin-top: 32px; }
.project-card--small .project-card__image { height: 270px; }
.project-card__index { position: absolute; top: 17px; left: 17px; padding: 7px 10px; color: var(--white); background: rgba(7,26,61,.75); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .12em; backdrop-filter: blur(8px); }
.project-card__body { padding: 19px 2px 0; }
.project-card__body h3 { margin: 0 0 7px; font-size: 23px; letter-spacing: -.03em; }
.project-card__body p { max-width: 310px; min-height: 49px; margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.process__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 150px; }
.process__intro h2 { margin-top: 24px; }
.process__intro p { max-width: 315px; margin-top: 25px; color: var(--muted); font-size: 16px; }
.steps { padding-top: 5px; }
.step { display: grid; grid-template-columns: 62px 1fr; gap: 26px; padding: 0 0 27px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.step__number { color: var(--electric); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 12px; font-weight: 800; }
.step h3 { margin: -6px 0 6px; font-size: 24px; }
.step p { max-width: 420px; margin: 0; color: var(--muted); font-size: 14px; }
.steps .button { margin-top: 12px; }

.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 150px; }
.contact__intro h2 { margin-top: 23px; font-size: clamp(48px, 6vw, 78px); }
.contact__intro p { max-width: 360px; margin-top: 28px; color: rgba(255,255,255,.67); font-size: 16px; }
.contact__details { padding-top: 17px; }
.contact-block { padding: 21px 0 23px; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-block__label { margin-bottom: 8px; color: var(--orange); font-size: 9px; }
.contact-block a, .contact-block address { display: block; color: var(--white); font-size: 21px; font-style: normal; font-weight: 700; letter-spacing: -.02em; line-height: 1.45; }
.contact-block small { display: block; margin-top: 4px; color: rgba(255,255,255,.48); font-size: 12px; }

.site-footer { color: var(--white); background: #04122c; }
.footer__top { display: flex; align-items: center; justify-content: space-between; min-height: 185px; }
.brand--footer { color: var(--white); }
.footer__top p { margin: 0; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.7; }
.back-top { display: inline-flex; align-items: center; gap: 16px; color: var(--white); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 800; }
.back-top span { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.footer__bottom { display: flex; justify-content: space-between; padding: 19px 0 24px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 9px; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }

@media (max-width: 900px) {
    .container { width: min(100% - 40px, 720px); }
    .primary-nav { gap: 18px; }
    .intro__grid, .process__grid, .contact__grid { gap: 55px; }
    .intro__grid { grid-template-columns: 1fr 1.8fr; }
    .intro__aside { display: none; }
    .service-row { grid-template-columns: 44px 1fr 1.2fr 76px 46px; gap: 14px; }
    .project-grid { grid-template-columns: 1fr 1fr; }
    .project-card--wide { grid-column: 1 / -1; }
    .project-card--wide .project-card__image { height: 350px; }
    .project-card--tall, .project-card--small { margin-top: 0; }
    .contact__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
    .container { width: calc(100% - 36px); }
    .topbar__inner { min-height: 32px; font-size: 9px; }
    .topbar__inner > span { max-width: 210px; line-height: 1.3; }
    .site-header { top: 32px; }
    .nav-wrap { min-height: 74px; }
    .brand-copy strong { font-size: 14px; }
    .brand-copy small { font-size: 7px; }
    .menu-toggle { display: block; }
    .primary-nav { position: absolute; top: 74px; left: 0; display: flex; visibility: hidden; flex-direction: column; align-items: stretch; width: 100%; padding: 16px 18px 22px; opacity: 0; background: var(--navy); transform: translateY(-8px); transition: visibility .2s ease, opacity .2s ease, transform .2s ease; }
    .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
    .primary-nav > a { padding: 8px 0; }
    .nav-cta { justify-content: center; margin-top: 8px; }
    .hero, .hero__content { min-height: 720px; }
    .hero__content { padding-top: 36px; }
    .hero__image { background-position: 64% center; }
    .hero__wash { background: linear-gradient(90deg, rgba(7,26,61,.96), rgba(7,26,61,.58)), linear-gradient(0deg, rgba(7,26,61,.36), transparent 60%); }
    .hero h1 { margin-top: 20px; font-size: clamp(47px, 15vw, 72px); }
    .hero__description { max-width: 310px; font-size: 15px; }
    .hero__actions { flex-direction: column; align-items: flex-start; gap: 20px; }
    .hero__side-note { display: none; }
    .section { padding: 82px 0; }
    .intro__grid, .process__grid, .contact__grid { display: block; }
    .intro__body { padding-top: 45px; }
    .intro h2 { font-size: 44px; }
    .intro .lead { font-size: 16px; }
    .stats-grid { grid-template-columns: 1fr; gap: 0; padding: 13px 0; }
    .stat, .stat:first-child { justify-content: flex-start; padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(11,78,162,.16); }
    .stat:last-child { border: 0; }
    .stat strong { width: 100px; font-size: 37px; }
    .section-head, .section-head__row { display: block; }
    .section-head { margin-bottom: 45px; }
    .section-head h2 { margin-top: 23px; font-size: 45px; }
    .section-head > p, .section-head__row p { margin-top: 20px; }
    .service-row { grid-template-columns: 34px 1fr 40px; gap: 13px; align-items: start; min-height: 0; padding: 25px 0; }
    .service-row__title h3 { font-size: 21px; }
    .service-row p { grid-column: 2 / -1; grid-row: 2; font-size: 13px; }
    .service-row__image { grid-column: 2; grid-row: 3; width: 100%; height: 70px; margin-top: 3px; }
    .service-row .round-arrow { grid-column: 3; grid-row: 1; width: 38px; height: 38px; font-size: 14px; }
    .project-grid { display: block; }
    .project-card, .project-card--tall, .project-card--small { margin-top: 0; margin-bottom: 40px; }
    .project-card--wide .project-card__image, .project-card--tall .project-card__image, .project-card--small .project-card__image { height: 270px; }
    .project-card__body p { min-height: 0; }
    .process__intro { margin-bottom: 52px; }
    .process__intro h2 { font-size: 45px; }
    .contact__intro { margin-bottom: 55px; }
    .contact__intro h2 { font-size: 54px; }
    .footer__top { align-items: flex-start; flex-direction: column; gap: 24px; padding: 40px 0; }
    .back-top { margin-top: 10px; }
    .footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
}
