:root{
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.10);
  --bg:#ffffff;
  --card:#ffffff;
  --accent:#1a4fff;
  --shadow: 0 12px 40px rgba(15,23,42,.08);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.wrapper{
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 22px;
}

/* --------------------------
   MAIN PAGE (hero) — keep as-is
   -------------------------- */

.hero{
  position:relative;
  padding: 104px 0 72px;
  color:#fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,.52), rgba(0,0,0,.58)),
    url("/assets/bg.jpg") center/cover no-repeat;
}

.hero .wrapper{padding-top:0;padding-bottom:0}

.hero h1{
  font-size: 48px;
  letter-spacing:-0.02em;
  line-height:1.05;
  max-width: 820px;
  margin:0 0 14px 0;
}

.hero p{
  font-size: 20px;
  line-height:1.6;
  max-width: 720px;
  opacity:.92;
  margin:0;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:600;
  letter-spacing:.2px;
  opacity:.95;
}

.avatar{
  width:48px;height:48px;border-radius:999px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.22);
}

/* --------------------------
   SECTIONS (shared)
   -------------------------- */

.section{ margin-top: 38px; }

.section h2{
  font-size: 28px;
  letter-spacing:-0.01em; /* FIX: removed "tell me" */
  margin:0 0 14px 0;
}

.section p{
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 780px;
  margin:0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(26,79,255,.08);
  color:rgba(26,79,255,.95);
  font-weight:600;
  font-size:13px;
  letter-spacing:.2px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:18px;
  margin-top:18px;
}
@media(min-width:900px){
  .grid{grid-template-columns: 1.2fr .8fr;}
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
}

/* FIX: list rules were broken ("li means") */
ul{padding-left:18px;margin:14px 0 0}
li{margin:10px 0;font-size:17px;color:var(--muted)}

/* Forms */
.formRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

input[type="password"]{
  font-size:16px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  min-width:260px;
  outline:none;
  background:#fff;
  color:var(--text);
}

input[type="password"]:focus{
  border-color: rgba(26,79,255,.55);
  box-shadow: 0 0 0 4px rgba(26,79,255,.12);
}

button,.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:16px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(26,79,255,.18);
  background: var(--accent);
  color:#fff;
  cursor:pointer;
  font-weight:600;
  transition: transform .08s ease, filter .15s ease;
  text-decoration:none;
}

button:hover,.btn:hover{filter:brightness(1.05)}
button:active,.btn:active{transform:translateY(1px)}

.btnSecondary{
  background:transparent;
  color:var(--text);
  border:1px solid var(--border);
}

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

.contactBox{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.contactBox .line{
  color:var(--muted);
  font-size:16px;
}
.contactBox .actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Accordion base */
details{
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
  background:#fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  margin-top:12px;
}
summary{
  cursor:pointer;
  font-weight:700;
  list-style:none;
}
summary::-webkit-details-marker{display:none}

.detailsMeta{
  margin-top:8px;
  font-size:14px;
  color:rgba(15,23,42,.6);
}
.detailsBody{
  margin-top:12px;
  color:var(--muted);
  line-height:1.65;
  font-size:16px;
}

.footer{
  margin-top:40px;
  font-size:14px;
  color:rgba(15,23,42,.55);
}

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

.sectionTitleRow{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.miniNote{
  font-size:14px;
  color:rgba(15,23,42,.55);
}

.detailsGrid{
  margin-top:12px;
}

.quickCta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* Pills (existing) */
.pillRow{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.pill{
  display:inline-flex;
  padding:6px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:13px;
  color:rgba(15,23,42,.65);
  background:#fff;
}

/* Icon list (existing) */
.iconList{
  list-style:none;
  padding:0;
  margin:16px 0 0;
}
.iconList li{
  display:flex;
  gap:14px;
  align-items:flex-start;
  font-size:18px;
  line-height:1.6;
  margin:14px 0;
  color: var(--text);
}
.iconList .icon{
  font-size:20px;
  line-height:1;
  margin-top:2px;
}

/* ==============================
   ADDITIONS (private pages polish)
   Won’t break main hero page
   ============================== */

/* Clickable project summary row + chevron */
.summaryRow{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.projectTitle{
  font-size:18px;
  font-weight:900;
  color: var(--text);
}

.hint{
  font-size:13px;
  color:rgba(15,23,42,.45);
  font-weight:800;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

.chev{
  display:inline-block;
  width:10px;
  height:10px;
  border-right:2px solid rgba(15,23,42,.45);
  border-bottom:2px solid rgba(15,23,42,.45);
  transform: rotate(-45deg);
  margin-top:2px;
}

details[open] .chev{ transform: rotate(45deg); }

/* Tech stack colored pills (new) */
.techStack{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.tech{
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:900;
  background:#f1f5f9;
  color:#0f172a;
}

.tech.aws{background:#fff7ed;color:#9a3412}
.tech.k8s{background:#eff6ff;color:#1d4ed8}
.tech.tf{background:#f5f3ff;color:#5b21b6}
.tech.gitops{background:#f0fdf4;color:#166534}
.tech.python{background:#fef9c3;color:#854d0e}
.tech.data{background:#ecfeff;color:#155e75}
.tech.obs{background:#fff1f2;color:#9f1239}
.tech.ai{background:#fdf4ff;color:#86198f}
