/*
 * Aung Naing Oo — portfolio, Classic view.
 *
 * The same content as the pixel world, for readers who just want to read it: Barlow for text,
 * Barlow Semi Condensed for headings, generous space, one raspberry accent shared with the pixel
 * site, and a dark scheme that follows the visitor's system setting. No pixel face anywhere.
 */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    color-scheme: light;
    --bg: #ffffff;
    --tint: #f6f5f8;
    --surface: #ffffff;
    --ink: #14111a;
    --soft: #55505e;
    --faint: #85808e;
    --line: #e7e4ec;
    --accent: #b0124c;
    --accent-2: #e2457c;
    --accent-soft: #fbe9f0;
    --dark: #120d1a;
    --dark-soft: #b8afc4;
    --shadow: 0 1px 2px rgba(20, 17, 26, .04), 0 8px 24px rgba(20, 17, 26, .06);
    --shadow-lift: 0 2px 4px rgba(20, 17, 26, .05), 0 16px 40px rgba(20, 17, 26, .10);
    --radius: 16px;
    --gutter: clamp(1rem, 5vw, 3rem);
    --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --display: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #0b1020;
        --tint: #10162a;
        --surface: #141b31;
        --ink: #eef0f7;
        --soft: #b3b8cc;
        --faint: #8a90a6;
        --line: #232b45;
        --accent: #ff5b92;
        --accent-2: #ff8fb3;
        --accent-soft: rgba(255, 91, 146, .12);
        --dark: #060914;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
        --shadow-lift: 0 2px 4px rgba(0, 0, 0, .35), 0 16px 40px rgba(0, 0, 0, .35);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 1.0625rem/1.7 var(--body);
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(100% - 2 * var(--gutter), 70rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 50; background: var(--ink); color: var(--bg); padding: .5rem .75rem; border-radius: 8px; }
.skip:focus { left: .5rem; }

/* ── View switch ───────────────────────────────────────────────────────── */

.viewbar { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .875rem; }
.viewbar__inner { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; padding-block: .4rem; }
.viewbar__label { color: var(--faint); font-weight: 500; }
.viewbar__switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.viewbar__switch a { padding: .2rem .8rem; border-radius: 999px; text-decoration: none; color: var(--soft); font-weight: 600; }
.viewbar__switch a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* ── Header ────────────────────────────────────────────────────────────── */

.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .85rem; }
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.2rem/1 var(--display); text-decoration: none; }
.nav__mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; color: #fff; font-size: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { text-decoration: none; font-weight: 500; color: var(--soft); }
.nav__links a:hover { color: var(--ink); }

/* ── Buttons, small parts ──────────────────────────────────────────────── */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px;
    font: 600 1rem/1 var(--body); text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn--small { padding: .6rem 1.1rem; font-size: .9375rem; }
.btn { white-space: nowrap; }
.short { display: none; }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 30%, transparent); }
.btn--primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--light { background: #fff; color: #14111a; }
.btn--light:hover { color: #b0124c; transform: translateY(-1px); }

.eyebrow { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: rgba(255, 255, 255, .8); }
.kicker { margin: 0 0 .4rem; font-size: .875rem; font-weight: 600; color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { padding: .25rem .7rem; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--soft); }

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) 2rem;
    background:
        radial-gradient(40rem 26rem at 85% 10%, var(--accent-soft), transparent 70%),
        radial-gradient(30rem 20rem at 0% 100%, color-mix(in srgb, var(--accent-soft) 60%, transparent), transparent 70%); }
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; padding: .4rem .9rem; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; color: var(--soft); }
.pill__dot { width: .55rem; height: .55rem; border-radius: 50%; background: #18b26b; box-shadow: 0 0 0 4px rgba(24, 178, 107, .18); }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; margin-bottom: 1.2rem; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--soft); max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0 1.6rem; }
.hero__tags { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--faint); font-weight: 500; font-size: .95rem; }
.hero__tags li::before { content: "•"; color: var(--accent); margin-right: .5rem; }
.hero__photo { margin: 0; position: relative; }
.hero__photo::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 28px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); opacity: .9; z-index: 0; }
.hero__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lift); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: clamp(2.5rem, 6vw, 4rem) 0 0; }
.stats div { padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stats dt { font: 700 clamp(1.8rem, 4vw, 2.4rem)/1 var(--display);
    background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: .4rem 0 0; color: var(--soft); font-weight: 500; }

/* ── Sections ──────────────────────────────────────────────────────────── */

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tint { background: var(--tint); }
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; margin-bottom: .9rem; }
.section__lead { color: var(--soft); font-size: 1.1rem; margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; }
.service { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.service__icon { width: 2.6rem; height: 2.6rem; padding: .5rem; margin-bottom: 1rem; border-radius: 12px; background: var(--accent-soft);
    fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.25rem; margin-bottom: .45rem; }
.service p { margin: 0; color: var(--soft); font-size: 1rem; }

/* Work */
.group__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .9rem; margin: 3rem 0 1.2rem; font-size: 1.35rem; }
.group__title:first-of-type { margin-top: 0; }
.group__title span { font: 400 1rem/1.4 var(--body); color: var(--faint); }

.features { display: grid; gap: 1.25rem; }
.feature { display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature__media { margin: 0; background: #f4f0ea; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__body { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.feature h4 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: .7rem; }
.feature p { color: var(--soft); }
.feature .chips { margin-top: .4rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr)); gap: 1.25rem; }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card__media { margin: 0; aspect-ratio: 16 / 9; background: #f4f0ea; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card h4 { font-size: 1.3rem; margin-bottom: .5rem; }
.card p { color: var(--soft); font-size: 1rem; }
.card__meta { margin: auto 0 0; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .875rem !important; font-weight: 500; color: var(--faint) !important; }

.list { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.list li { display: grid; grid-template-columns: 1.2fr 2fr auto; gap: .4rem 1.2rem; align-items: baseline; padding: 1rem 1.4rem; border-top: 1px solid var(--line); }
.list li:first-child { border-top: 0; }
.list strong { font-weight: 600; }
.list span { color: var(--soft); }
.list em { font-style: normal; font-size: .875rem; font-weight: 600; color: var(--accent); white-space: nowrap; }
.list--compact { box-shadow: none; border: 0; background: none; }
.list--compact li { grid-template-columns: 1fr auto; padding: .7rem 0; }
.list a { text-decoration: none; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; }
.steps li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps__n { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%;
    font: 700 .95rem/1 var(--display); color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.steps h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--soft); font-size: 1rem; }

/* Principle band */
.band { background: var(--dark); color: #fff; padding-block: clamp(3.5rem, 8vw, 5.5rem);
    background-image: radial-gradient(36rem 20rem at 100% 0%, rgba(226, 69, 124, .28), transparent 70%); }
.band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.band blockquote { margin: 0; }
.band blockquote p { font: 600 clamp(1.5rem, 3vw, 2.1rem)/1.3 var(--display); margin: 0 0 1rem; }
.band blockquote footer { color: var(--dark-soft); font-weight: 500; }
.band__facts { display: grid; gap: 1rem; margin: 0; }
.band__facts div { padding: 1.1rem 1.3rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.band__facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #ff8fb3; margin-bottom: .3rem; }
.band__facts dd { margin: 0; color: #fff; }

/* Timeline */
.timeline { position: relative; display: grid; gap: .75rem; }
.timeline li { display: grid; grid-template-columns: 12rem 1fr; gap: 1.5rem; align-items: center; padding: 1.1rem 1.4rem; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line); }
.timeline li:first-child { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.timeline__when { font-weight: 600; color: var(--accent); font-size: .95rem; }
.timeline h3 { font-size: 1.2rem; }
.timeline p { margin: .15rem 0 0; color: var(--soft); }

/* Toolbox */
.toolbox { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.toolbox__group { padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.toolbox__group h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.panel { padding: 1.4rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.facts { margin: 0; display: grid; gap: 1rem; }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.facts dd { margin: .2rem 0 0; color: var(--soft); }

/* Contact */
.contact { padding-block: clamp(3rem, 7vw, 5rem) 2rem; }
.contact__card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.8rem, 5vw, 3.5rem); border-radius: 28px; color: #fff;
    background: linear-gradient(135deg, #8d0e3d, #b0124c 45%, #e2457c); box-shadow: 0 20px 50px rgba(176, 18, 76, .3); }
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: .8rem; color: #fff; }
.contact__card p { margin: 0; color: rgba(255, 255, 255, .88); }
.contact__actions { display: grid; gap: 1rem; justify-items: start; }
.contact__links { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.contact__links a { color: #fff; font-weight: 600; text-decoration: none; }
.contact__links a:hover { color: #fff; text-decoration: underline; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-top: 1.8rem; font-size: .875rem; color: var(--faint); }

/* ── Smaller screens ───────────────────────────────────────────────────── */

@media (max-width: 960px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .feature { grid-template-columns: 1fr; }
    .feature__media { aspect-ratio: 16 / 9; }
    .band__inner, .contact__card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .nav__links { display: none; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__photo { order: -1; max-width: 22rem; }
    .hero__photo img { aspect-ratio: 4 / 3.4; }
    .toolbox, .split { grid-template-columns: 1fr; }
    .timeline li { grid-template-columns: 1fr; gap: .3rem; }
    .list li { grid-template-columns: 1fr auto; }
    .list li span { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr; }
    .stats div { display: flex; align-items: baseline; gap: 1rem; }
    .steps { grid-template-columns: 1fr; }
    .hero__actions .btn { flex: 1; }
    .long { display: none; }
    .short { display: inline; }
    .nav__brand { font-size: 1.05rem; white-space: nowrap; }
    .pill { border-radius: 14px; }
    .viewbar__inner { justify-content: center; }
}
