/* Sammy Spreadsheets — clean, professional, mobile-first */
:root{
  --bg: #0b0f0d;
  --panel: rgba(255,255,255,.06);
  --panel-2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);
  --brand: #66c48b;
  --brand-2: #b9f5cd;
  --shadow: 0 12px 35px rgba(0,0,0,.35);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1100px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 15% 0%, rgba(102,196,139,.18), transparent 50%),
    radial-gradient(900px 500px at 85% 10%, rgba(185,245,205,.10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

.container{
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.skip{
  position:absolute;
  left:-999px;
  top: 12px;
  padding:10px 12px;
  background: #111a15;
  color: var(--text);
  border:1px solid var(--line);
  border-radius: 10px;
  z-index: 1000;
}
.skip:focus{ left: 16px; }

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 13, .65);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.brand-logo{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.brand-text{ min-width:0; }
.brand-name{
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 16px;
}
.brand-sub{
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 52vw;
}

.top-actions{ display:flex; align-items:center; gap:10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #0b0f14, rgba(185,245,205,.70));
  color: #082010;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.btn:hover{ filter: brightness(1.04); text-decoration:none; }
.btn:active{ transform: translateY(1px); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(255,255,255,.06); }

.hero{
  padding: 34px 0 22px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}
.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -.6px;
}
.lead{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}
.hero-cta{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

.hero-stats{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
.stat{
  padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.stat-k{ font-weight: 700; font-size: 13px; letter-spacing: .2px; color: rgba(255,255,255,.86); }
.stat-v{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.hero-media{
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img{
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: cover;
  display:block;
}
.media-caption{
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.tabs-section{
  padding: 18px 0 52px;
}
.tabs{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tab{
  appearance:none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor:pointer;
}
.tab:hover{ background: rgba(255,255,255,.06); color: var(--text); }
.tab.is-active{
  background: rgba(102,196,139,.16);
  border-color: rgba(102,196,139,.40);
  color: var(--text);
}

.panel{
  display:none;
  margin-top: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.panel.is-active{ display:block; }
.panel-header h2{ margin: 0; font-size: 22px; }
.panel-header p{ margin: 6px 0 0; }

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

.cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}
.card{
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
}
.card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.card h3{ margin: 0; font-size: 18px; }
.pill{
  font-size: 12px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  padding: 6px 10px;
}
.card p{ margin: 10px 0 0; color: var(--muted); }
.card-actions{ margin-top: 12px; }

.gallery{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
figure{ margin:0; }
figure img{
  width:100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  display:block;
}
figcaption{
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.80);
}
.bullets li{ margin: 6px 0; }
.bullets strong{ color: rgba(255,255,255,.95); }

.link-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.link-tile{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.link-tile:hover{ background: rgba(255,255,255,.06); text-decoration:none; }
.lt-title{ font-weight: 800; color: rgba(255,255,255,.92); }
.lt-sub{ color: var(--muted); font-size: 13px; margin-top: 2px; }

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  margin-top: 14px;
}
.h4{ margin: 0 0 8px; font-size: 16px; }
.callout{
  border-radius: var(--radius);
  border: 1px solid rgba(102,196,139,.35);
  background: rgba(102,196,139,.10);
  padding: 12px;
}
.callout-row{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:space-between;
  padding: 8px 6px;
  border-bottom: 1px dashed rgba(255,255,255,.16);
}
.callout-row:last-child{ border-bottom: none; }
.tag{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  font-size: 12px;
}

.timeline{ margin-top: 12px; display:grid; gap: 12px; }
.job{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.job-top{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  align-items:flex-start;
  flex-wrap: wrap;
}
.job-title{ font-weight: 900; letter-spacing: .2px; }
.job-org{ color: var(--muted); font-size: 13px; margin-top: 2px; }
.job-dates{ color: rgba(255,255,255,.85); font-weight: 700; font-size: 13px; }
details.job more{}
details.job > summary{
  cursor:pointer;
  font-weight: 800;
  color: rgba(255,255,255,.92);
}
.more-body{ margin-top: 10px; }

.panel-footer{ margin-top: 14px; }

.skill-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.skill-card{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}

.contact-card{
  margin-top: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}
.contact-row{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.contact-row:last-child{ border-bottom: none; }
.contact-k{ color: var(--muted); font-weight: 700; }
.sep{ margin: 0 8px; color: var(--muted); }

.site-footer{
  border-top: 1px solid var(--line);
  padding: 18px 0 30px;
  background: rgba(0,0,0,.18);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media img{ max-height: 320px; }
  .two-col{ grid-template-columns: 1fr; }
  .skill-grid{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: 1fr; }
  .link-grid{ grid-template-columns: 1fr; }
  .brand-sub{ max-width: 68vw; }
}


/* References */
.ref-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.ref-card{
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
}
.ref-name{
  font-weight: 900;
  letter-spacing: .2px;
}
.ref-meta{
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.media-note{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

@media (max-width: 920px){
  .ref-grid{ grid-template-columns: 1fr; }
}



.exp-gallery{ margin-top: 18px; }
.exp-block{ margin-top: 14px; }
.exp-block-title{
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin: 0 0 8px;
}
.thumb-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.thumb-grid figure{
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.thumb-grid img{
  width: 100%;
  height: 130px;
  object-fit: cover;
  display:block;
}
.thumb-grid figcaption{
  padding: 8px 10px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 920px){
  .thumb-grid{ grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .thumb-grid img{ height: 120px; }
}


/* Experience photo gallery – larger images */
.exp-gallery{
  margin-top: 24px;
}
.exp-block{
  margin-top: 22px;
}
.exp-block-title{
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin: 0 0 12px;
}

.thumb-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.thumb-grid figure{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
}

.thumb-grid img{
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  display: block;
  background: #000;
}

.thumb-grid figcaption{
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.35);
}

@media (max-width: 900px){
  .thumb-grid{
    grid-template-columns: 1fr;
  }
  .thumb-grid img{
    max-height: 260px;
  }
}


/* References – uniform cards */
.ref-grid-uniform{
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.ref-card{
  padding: 16px;
}
.ref-title{
  font-weight: 800;
  margin-top: 6px;
}
.ref-org{
  margin-top: 2px;
  font-size: 13px;
}
.ref-links{
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.ref-links a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.ref-links a:hover{
  border-bottom-color: rgba(102,196,139,.65);
  text-decoration: none;
}


/* Divider */
.divider{
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.job-sub{ margin-top: 10px; }
.job-role{ margin-top: 14px; }
.job-role-title{ font-weight: 800; }
.job-role-dates{ font-size: 13px; margin-top: 2px; }


/* Earlier Career (collapsible) */
.early-career{
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255,255,255,.02);
}
.early-career summary{
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.early-career summary::-webkit-details-marker{
  display: none;
}
.early-career summary::after{
  content: "▸";
  float: right;
  transition: transform .15s ease;
}
.early-career[open] summary::after{
  transform: rotate(90deg);
}


/* --- Background hard reset --- */
html, body {
  background: #0b0f14 !important;
}

body::before,
body::after,
.bg,
.bg-stripes,
.background,
.overlay {
  display: none !important;
}

/* Ensure panels stay clean */
.panel {
  background: #121826;
}


/* Force primary buttons to match Resume button exactly */
.btn.primary {
  background: #1f2933;
  color: #ffffff;
  border: 1px solid #1f2933;
}

.btn.primary:hover {
  background: #2b3642;
  border-color: #2b3642;
}
