/* KYATCS website, navy and gold, plain and readable */
:root {
    --ink: #1b2a3d;
    --muted: #566475;
    --paper: #fff;
    --tint: #f4f6f8;
    --line: #dde3ea;
    --deep: #0c2f57;
    --deep-2: #081f3b;
    --signal: #c9a04a;
    --gold-deep: #85631a;
    --ok: #23805a;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Newsreader", Georgia, "Times New Roman", serif;
    --radius: 6px;
    --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
    color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.25; }
h1, h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; color: var(--deep); }
h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.08rem; font-weight: 800; color: var(--deep); }
p { margin: 0 0 1em; max-width: 65ch; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { width: min(100% - 3rem, var(--max)); margin-inline: auto; }
.center { text-align: center; margin-top: 2.2rem; max-width: none; }

/* Buttons */
.btn {
    display: inline-block; padding: .8rem 1.35rem; background: var(--deep); color: #fff;
    font-weight: 700; font-size: .95rem; text-decoration: none;
    border: 1px solid var(--deep); border-radius: var(--radius);
}
.btn:hover { background: var(--deep-2); border-color: var(--deep-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--deep); }
.btn-ghost:hover { background: var(--deep); color: #fff; }
.btn-small { padding: .5rem 1rem; font-size: .88rem; }
.btn-light { background: var(--signal); border-color: var(--signal); color: var(--deep-2); }
.btn-light:hover { background: #d8b362; border-color: #d8b362; color: var(--deep-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { width: min(100% - 3rem, 1240px); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex: 0 0 auto; text-decoration: none; }
.brand img { display: block; width: 50px; height: 50px; object-fit: contain; }
.brand-copy, .footer-brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { color: var(--deep); font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; letter-spacing: .1em; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 1.4vw, 1.5rem); flex-wrap: nowrap; }
.nav .btn { white-space: nowrap; }
.nav a:not(.btn) { color: #33425a; text-decoration: none; font-weight: 600; font-size: .9rem; padding-block: .3rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:not(.btn):hover { color: var(--deep); border-bottom-color: var(--signal); }

/* Mobile menu button (shown only on small screens) */
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--deep); content: ""; transition: transform .2s ease, background .2s ease; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center; min-height: clamp(520px, 78vh, 720px);
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: #050b1a url("assets/kyatcs-poster.webp") center/cover no-repeat;
    color: #fff;
}
.hero > .wrap { position: relative; }
.hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-overlay {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(90deg, rgba(5,11,26,.85) 0%, rgba(5,11,26,.55) 55%, rgba(5,11,26,.25) 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-copy { max-width: 42rem; }
.hero h1 { color: #fff; max-width: 20ch; margin-bottom: .6em; }
.eyebrow { color: var(--gold-deep); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.hero .eyebrow, .section-dark .eyebrow { color: #e0be72; }
.lead { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero .btn-ghost:hover { background: #fff; color: var(--deep); border-color: #fff; }

/* Focus strip under the hero */
.proof-strip { background: var(--deep); color: #fff; }
.proof-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-inner > div { padding: 1.1rem 1rem; text-align: center; font-size: .92rem; font-weight: 700; border-right: 1px solid rgba(255,255,255,.18); }
.proof-inner > div:last-child { border-right: 0; }

/* Sections */
.section { padding: clamp(3.5rem, 6.5vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--deep) center/cover; color: #e6eef6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: 2.4rem; max-width: 44rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-bottom: 0; }
.section-dark .section-head p { color: #d0dcea; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 2.2rem; }
.service { border-top: 2px solid var(--deep); padding-top: 1rem; }
.service p { color: var(--muted); font-size: .95rem; }
.service a { font-size: .9rem; font-weight: 700; }

/* Cards */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.model { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: box-shadow .2s ease, border-color .2s ease; }
.model:hover { border-color: #c5d0dc; box-shadow: 0 6px 18px rgba(12,47,87,.08); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .82rem; font-weight: 600; color: var(--deep); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: .15rem .65rem; }
.model p { color: var(--muted); margin: 0; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid var(--line); font-weight: 600; }
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: .2rem; top: 1.1rem; width: .5rem; height: .9rem; border: solid var(--ok); border-width: 0 3px 3px 0; transform: rotate(45deg); }

.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stage { padding: 1.5rem; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); background: rgba(8,31,59,.7); }
.stage p { margin: 0; color: #d0dcea; font-size: .95rem; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; padding-top: 2.8rem; position: relative; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--deep); color: #fff; font-size: .85rem; font-weight: 800; }
.steps p { color: var(--muted); margin: 0; font-size: .94rem; }

.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.why > div { border-left: 3px solid var(--signal); padding-left: 1.1rem; }
.why p { color: var(--muted); margin: 0; }

/* Contact band */
.cta { background: var(--deep); color: #e6eef6; padding: clamp(3.5rem, 6vw, 5.5rem) 0; text-align: center; }
.cta-inner { display: flex; align-items: center; flex-direction: column; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { margin-inline: auto; color: #d0dcea; }
.cta .btn { margin-top: .6rem; }

/* Footer */
.site-footer { background: #0a1a2e; color: #a9b8c9; border-top: 3px solid var(--signal); font-size: .9rem; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.3fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding: 3.5rem 0 2.5rem; }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.footer-brand img { display: block; width: 50px; height: 50px; object-fit: contain; }
.footer-brand-copy strong { color: #fff; font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: .1em; }
.footer-about p { max-width: 34ch; margin: 1rem 0 0; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-contact { min-width: 0; }
.footer-links strong, .footer-contact > strong { display: block; color: #fff; font-size: .85rem; margin-bottom: .5rem; }
.footer-contact p, .footer-contact address { font-style: normal; line-height: 1.7; margin: 0 0 .8rem; overflow-wrap: anywhere; }
.footer-contact b { color: #fff; font-weight: 700; }
.footer-links a, .footer-bottom a, .footer-contact a { color: #c3cfdc; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

/* Developer Experience Hub */
.training-section { background: #fff; }
.training-hero {
    display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--radius);
    background: var(--tint); border: 1px solid var(--line);
}
.training-copy h2 { max-width: 18ch; }
.training-lead { color: #3d4c60; font-size: 1.05rem; }
.training-note { color: var(--muted); font-size: .88rem; margin: 1rem 0 0; }
.training-highlight { background: var(--deep); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.highlight-kicker, .bottom-label { display: block; color: var(--gold-deep); letter-spacing: .06em; text-transform: uppercase; font-size: .75rem; font-weight: 800; }
.training-highlight .highlight-kicker { color: #e0be72; }
.highlight-number { display: block; font-family: var(--font-head); font-size: 5rem; line-height: 1; color: #fff; margin-top: .5rem; }
.training-highlight h3 { color: #fff; font-size: 1.15rem; margin: .2rem 0 .6rem; }
.training-highlight p { color: #cbd8e6; font-size: .9rem; }
.highlight-rule { height: 1px; background: rgba(255,255,255,.2); margin: 1.1rem 0; }
.highlight-meta { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .88rem; }
.highlight-meta span { color: #cbd8e6; }
.highlight-meta strong { color: #fff; text-align: right; }

.training-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding: 2.2rem 0 3rem; }
.training-benefits article { padding: .2rem 0 .2rem 1rem; border-left: 3px solid var(--signal); }
.training-benefits h3 { font-size: 1rem; }
.training-benefits p, .section-description { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

.training-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); padding: 3rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.training-detail-copy h2 { max-width: 16ch; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 700; }
.training-steps { list-style: none; padding: 0; margin: 0; }
.training-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.training-steps li:first-child { padding-top: 0; }
.training-steps li:last-child { border-bottom: 0; }
.training-steps li > span { color: var(--gold-deep); font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; }
.training-steps h3 { margin-bottom: .2rem; }
.training-steps p { color: var(--muted); font-size: .92rem; margin: 0; }

.training-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-top: 2.5rem; }
.training-bottom > div { padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.training-bottom .bottom-label { margin-bottom: .8rem; }
.training-bottom > div:first-child > p { display: flex; flex-direction: column; padding: .65rem 0; margin: 0; border-bottom: 1px solid #edf0f4; }
.training-bottom > div:first-child > p:last-child { border-bottom: 0; }
.training-bottom > div:first-child > p strong { font-size: .95rem; }
.training-bottom > div:first-child > p span { font-size: .85rem; color: var(--muted); }
.schedule-panel { background: #eef2f6 !important; }
.schedule-panel h3 { margin-bottom: 1rem; }
.schedule-panel > p { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; margin: 0; border-bottom: 1px solid #d5dde6; font-size: .9rem; }
.schedule-panel > p span { color: var(--muted); }
.schedule-panel > p strong { text-align: right; }
.schedule-panel .btn { margin-top: 1.3rem; }

/* Example project */
.ecommerce-reference { background: #fff; }
.reference-card { display: grid; grid-template-columns: minmax(160px, .7fr) 2fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; padding: clamp(1.4rem, 3.5vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.reference-mark { min-height: 170px; display: grid; place-items: center; border-radius: var(--radius); background: var(--deep); color: #fff; font-family: var(--font-head); font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: .02em; }
.reference-label { margin: 0 0 .3rem; color: var(--gold-deep); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.reference-copy h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.reference-copy p:not(.reference-label) { color: var(--muted); }
.reference-url { margin: .8rem 0 0; font-size: .92rem; }
.reference-url a { font-weight: 700; }

/* Clients */
.clients-section { background: var(--tint); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.2rem; }
.client-card { display: grid; grid-template-columns: minmax(130px, .6fr) 1.6fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: center; padding: clamp(1.2rem, 3vw, 1.8rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.client-mark { display: grid; place-items: center; min-height: 110px; border-radius: var(--radius); text-decoration: none; background: var(--deep); color: #fff; font-family: var(--font-head); font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: .12em; }
.client-mark:hover { color: #e0be72; }
.client-label { margin: 0 0 .3rem; color: var(--gold-deep); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.client-copy h3 { font-size: 1.2rem; margin: 0 0 .4rem; }
.client-copy p:not(.client-label) { color: var(--muted); font-size: .95rem; }
.client-copy .text-link { margin-top: 0; }

/* Tablet */
@media (max-width: 960px) {
    .split, .training-hero, .training-details { grid-template-columns: 1fr; }
    .training-highlight { max-width: 520px; }
    .training-benefits { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-about, .footer-contact { grid-column: 1 / -1; }
    .proof-inner { grid-template-columns: repeat(2, 1fr); }
    .proof-inner > div:nth-child(2) { border-right: 0; }
    .proof-inner > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
    .services, .models, .stages { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

/* Phone */
@media (max-width: 680px) {
    .wrap { width: min(100% - 2rem, var(--max)); }
    .header-inner { min-height: 64px; }
    .brand img { width: 42px; height: 42px; }
    .brand-copy strong { font-size: 1.2rem; }
    .hero { min-height: 0; padding: 3.5rem 0 4rem; }
    .hero-overlay { background: linear-gradient(180deg, rgba(5,11,26,.75), rgba(5,11,26,.65)); }
    .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
    .proof-inner > div { padding: .9rem .6rem; font-size: .8rem; }
    .services, .models, .stages, .steps, .why { grid-template-columns: 1fr; }
    .actions .btn { flex: 1 1 100%; text-align: center; }
    .training-hero { padding: 1.3rem; }
    .training-benefits, .training-bottom { grid-template-columns: 1fr; }
    .training-benefits { padding: 1.8rem 0; gap: .8rem; }
    .training-details { padding: 2.2rem 0; }
    .reference-card, .client-card { grid-template-columns: 1fr; }
    .reference-mark { min-height: 120px; }
    .client-mark { min-height: 80px; }
    .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; padding: 2.2rem 0; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* AI section and shared small text */
.section-dark .lead { color: #d0dcea; max-width: 60ch; }
.section-dark .split, .section-dark .stages { margin-top: 3rem; }
.fine-print { color: var(--muted); font-size: .85rem; margin-top: 1.2rem; max-width: 70ch; }
.section-dark .fine-print { color: #b8c7d8; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.cta .btn-ghost:hover { background: #fff; color: var(--deep); border-color: #fff; }

/* Contact and enquiry form */
.contact-grid { align-items: start; }
.contact-details { margin: 1.5rem 0 0; font-style: normal; color: var(--muted); font-size: .95rem; }
.contact-details p { margin: 0 0 .8rem; }
.contact-details b { color: var(--deep); }
.inquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: 0 8px 24px rgba(12,47,87,.06); }
.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: end; }
.inquiry .field { margin-bottom: 1rem; }
.inquiry label { display: block; font-weight: 700; font-size: .88rem; color: var(--deep); margin-bottom: .3rem; }
.inquiry .opt { font-weight: 500; color: var(--muted); }
.inquiry input, .inquiry select, .inquiry textarea { width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; padding: .65rem .8rem; border: 1px solid #b9c4d1; border-radius: var(--radius); }
.inquiry textarea { min-height: 120px; resize: vertical; }
.inquiry input:focus, .inquiry select:focus, .inquiry textarea:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: var(--deep); }
.inquiry [aria-invalid="true"] { border-color: #b42318; }
.field-error { display: block; color: #b42318; font-size: .82rem; margin-top: .25rem; }
.form-note { color: var(--muted); font-size: .85rem; margin: .8rem 0 0; }
.form-status { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius); font-size: .92rem; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f5ee; color: #14573b; border: 1px solid #b7dcc8; }
.form-status.err { background: #fdecea; color: #8a1c13; border: 1px solid #f3c1bc; }

/* Menu: collapse into a button below this width (7 links + button don't fit) */
@media (max-width: 1180px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
        flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.5rem 1.2rem;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12,47,87,.1);
    }
    .nav.is-open { display: flex; }
    .nav a:not(.btn) { padding: .85rem .25rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
    .nav a:not(.btn):hover { border-bottom-color: var(--line); background: var(--tint); }
    .nav .btn { margin-top: 1rem; text-align: center; padding: .85rem 1rem; }
}
@media (max-width: 680px) { .inquiry .row { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-video { display: none; }
}