:root{
    --bg:#0b1020;
    --panel:#0f1733;
    --card:#121c3d;
    --text:#e8ecff;
    --muted:#a9b3da;
    --accent:#74c0fc;
    --accent2:#b197fc;
    --accent3: #91ceff;
    --border:rgb(255 255 255 / 10%);
    --border-cloudflare: rgb(74 33 17);
    --shadow: 0 10px 30px rgb(0 0 0 / 35%);
    --shadow2: 2px 2px 5px rgb(11 62 221 / 90%);
    --radius:18px;
    --max: 1200px;
}

*{box-sizing:border-box}

html,body{height:100%}

body{
    margin:0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
    background: var(--bg);
    color:var(--text);
    line-height:1.55;
}

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

a:hover{text-decoration:underline}

.wrap{
    max-width:var(--max);
    margin:0 auto;
    padding:28px 18px 80px
}

.topbar{
    display:flex; align-items:center; justify-content:space-between;
    gap:12px; margin-bottom:18px;
}

.brand{
    display:flex; gap:12px; align-items:center;
    padding:10px 14px; border:1px solid var(--border);
    background:rgb(255 255 255 / 3%); border-radius:999px;
    box-shadow: var(--shadow);
}

.brand-name {
    font-size: 1.2em;
    font-weight:750;
    font-variant: small-caps;
}

.brand-subtitle {
    font-size: 0.9em;
}

.dot{
    width:12px; height:12px; border-radius:50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    box-shadow: 0 0 18px rgb(116 192 252 / 45%);
}

.nav{
    display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end;
}

.chip{
    font-variant: small-caps;
    padding:10px 12px; border-radius:999px; border:1px solid var(--border);
    background: rgb(255 255 255 / 3%);
    font-weight: 500;
}

.chip:hover {
    background: rgb(64 111 143 / 45%);
    text-decoration: none;
}

header{
    margin-top:18px;
    padding:26px;
    background: linear-gradient(135deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 2%));
    border:1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.headline{
    display:flex; flex-direction:column; gap:10px;
}

h1{
    margin:0;
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing:-.02em;
    font-variant: small-caps;
}

.h1-break {
    display: inline;
    white-space: nowrap;
}

@media (width <= 520px) {
    .h1-break {
        display: block;
        white-space: nowrap;
    }
}

.role{
    font-size: clamp(14px, 2vw, 18px);
    color: var(--muted);
}

.cta{
    margin-top:16px;
    display:flex; flex-wrap:wrap; gap:10px;
}

.btn{
    display:inline-flex; align-items:center; gap:10px;
    padding:11px 14px; border-radius: 12px;
    border:1px solid var(--border);
    background: rgb(255 255 255 / 4%);
    color: var(--text);
    text-decoration:none;
}
.btn strong{font-weight:650}

.btn.primary{
    background: linear-gradient(135deg, rgb(116 192 252 / 22%), rgb(177 151 252 / 18%));
    border-color: rgb(116 192 252 / 35%);
}

.btn:hover{
    background:rgb(255 255 255 / 7%);
    text-decoration:none
}

.btn .site{
    font-size: 1.15em;
    font-weight: 650;
    margin-right: -0.2em;
}

.btn .service{
    color: var(--muted);
    font-size: 0.92em;
    font-weight: 600;
    margin-left: 0;
    font-style: italic;
}

main{
    margin-top:18px;
    display:grid;
    grid-template-columns: 1.2fr .8fr;
    gap:16px;
}

@media (width <= 880px){
    main{grid-template-columns:1fr}

    .topbar{
        flex-direction:column;
        align-items:flex-start
    }
    .nav{justify-content:flex-start}
}

.card{
    background: rgb(255 255 255 / 3%);
    border:1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding:18px;
}

.card h2{
    margin:0 0 10px;
    font-size:20px;
    font-variant: small-caps;
}

.muted{color:var(--muted)}

.kicker{
    display:flex; flex-wrap:wrap; gap:8px; margin-top:10px
}

.kicker-block{
    display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;
    padding:14px;
    border-radius:14px;
    border:1px solid var(--border);
    background: var(--bg);
}

.kicker-block h3 {
    margin:0 0 5px;
    font-size:18px;
    font-variant: small-caps;
    flex-basis: 100%;
}


.pill{
    font-size: 13px;
    padding:7px 10px;
    border-radius:999px;
    border:1px solid var(--border);
    background: rgb(255 255 255 / 3%);
    color: var(--text);
    white-space:nowrap;
}

.pill a {
    text-decoration: none;
}

.section{
    display:flex;
    flex-direction:column;
    gap:16px
}

.job{
    padding:14px;
    border-radius:14px;
    border:1px solid var(--border);
    background: var(--bg);
}

.job + .job {
    margin-top: 12px;
}

.job-spaced{margin-top:12px}

.jobhead{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    align-items:baseline;
    justify-content:space-between
}

.jobtitle {
    font-weight: 700;
}

.jobcompany {
    font-variant: small-caps;
    white-space: nowrap;
}

.jobmeta{
    color:var(--muted);
    font-size:13px
}

ul{margin:10px 0 0 18px}
li{margin:6px 0}

.proj{
    display:grid; gap:10px;
    padding:14px;
    border-radius:14px;
    border:1px solid var(--border);
    background: rgb(0 0 0 / 15%);
}

.proj + .proj {
    margin-top: 12px;
}

.proj-spaced{margin-top:12px}

.projtop{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between
}

.projname{font-weight:750}

footer{
    margin-top:22px;
    color:var(--muted);
    font-size:13px;
    text-align:center;
}

.mono{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

.hr{
    height:1px; background: var(--border); margin:12px 0;
}

.tip{
    color: var(--muted);
    font-size:13px;
}

.contact-note{
    margin-top:10px;
    color: var(--muted);
}

.social-icons a:hover {
    color: #74c0fc;
}

.strong-skill {
    color: var(--accent3);
    font-size: 1.15em;
    font-weight: bolder;
    text-shadow: var(--shadow2);
}

.time-experienced {
    color: var(--muted);
    font-size: 0.92em;
    font-weight: 600;
    margin-left: 0.5em;
    font-style: italic;
}

.div-cloudflare .btn{
    border:1px solid var(--border-cloudflare);
    background: rgb(253 92 0 / 8%);
}

.div-cloudflare .btn.primary{
    background: linear-gradient(135deg, rgb(116 192 252 / 22%), rgb(252 202 151 / 18%));
    border-color: rgb(108 76 54);
}

.div-cloudflare .btn:hover{
    background: rgb(253 92 0 / 16%);
    text-decoration:none
}

.cta.social-icons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

/* Glass chip (soft edges, faded border) */
.logo-badge{
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Dark-background readability “halo” for the logo art */
.logo-badge svg{
    width: 2em;
    height: 2em;
    filter:
            drop-shadow(0 1px 1px rgb(0 0 0 / 55%))
            drop-shadow(0 0 3px rgb(255 255 255 / 10%));
}

.logo-badge.is-aws svg{
    width: 2.2em;
    height: 2.2em;
}

.logo-badge.is-azure svg{
    width: 2em;
    height: 2em;
}

/* Extra help for AWS + Google specifically */
.logo-badge.is-aws svg,
.logo-badge.is-google svg{
    filter:
            drop-shadow(0 1px 1px rgb(0 0 0 / 65%))
            drop-shadow(0 0 4px rgb(255 255 255 / 18%)); /* stronger white “edge” */
}

.logo-badge.is-google svg *{
    width: 1.6em;
    height: 1.6em;
    stroke: rgb(255 255 255 / 22%);
    stroke-width: .6;
    vector-effect: non-scaling-stroke;
}

.logo-badge.is-cloudflare svg{
    filter:
            drop-shadow(0 1px 2px rgb(0 0 0 / 60%))
            drop-shadow(0 0 4px rgb(255 255 255 / 12%));
}
