:root{
  --cream: #f6f1e6;
  --ink: #1c1c1c;
  --muted: #6b6b6b;
  --panel: rgba(255,255,255,.82);
  --panel2: rgba(255,255,255,.68);
  --border: rgba(0,0,0,.08);
  --shadow: 0 10px 28px rgba(0,0,0,.08);
}

html,
body{
  height: 100%;
}

body{
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* Helps image rendering behave consistently without changing layout */
img{
  max-width: 100%;
}

section{
  scroll-margin-top: 84px;
}

.anchor{
  scroll-margin-top: 84px;
  height: 0;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #000;
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  z-index: 9999;
}

.skip-link:focus{
  left: 12px;
}

.nav-glass{
  background: rgba(246, 241, 230, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.section-pad{
  padding: 72px 0;
}

.section-alt{
  background: rgba(255,255,255,.22);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero{
  padding: 56px 0 18px;
}

.section-tight-top{
  padding-top: 26px;
}

.hero-lead{
  max-width: 820px;
}

.hero-logo{
  width: min(640px, 92vw);
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.08));
}

.about-photo{
  width: 220px;
  height: 220px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.95);
  display: block;
}

.panel{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel-soft{
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}

.project{
  padding: 28px 0;
}

.project + .project{
  border-top: 1px solid var(--border);
}

.tag{
  display: inline-block;
  font-size: .78rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.7);
  color: var(--ink);
}

.meta-line{
  color: var(--muted);
  font-size: .95rem;
}

.project-bullets{
  margin: 0;
  padding-left: 18px;
}

.project-bullets li{
  margin-bottom: 8px;
}

.project-bullets li:last-child{
  margin-bottom: 0;
}

.media-frame{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.88);
  aspect-ratio: 16 / 9;
}

.project-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer{
  padding: 26px 0 36px;
}

@media (max-width: 575.98px){
  .section-pad{
    padding: 56px 0;
  }

  .hero{
    padding: 44px 0 14px;
  }

  section{
    scroll-margin-top: 92px;
  }

  .anchor{
    scroll-margin-top: 92px;
  }

  .section-tight-top{
    padding-top: 18px;
  }

  .about-photo{
    width: 190px;
    height: 190px;
  }
}