<!-- ============================== styles.css =============================== -->
/*
  styles.css — minimal, modern styling
  -----------------------------------
  Sections:
    1) Base + tokens
    2) Header + nav
    3) Footer
    4) App container
    5) Headings
    6) Filters (tag chips)
    7) Grid + cards
    8) Project layout
    9) Transitions / reveal helpers
*/
/* font related */
.fascinate-regular {
  font-family: "Fascinate", system-ui;
  font-weight: 400;
  font-style: normal;
}
.nerko-one-regular {
  font-family: "Nerko One", cursive;
  font-weight: 400;
  font-style: normal;
}
.sulphur-point-light {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.sulphur-point-regular {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.sulphur-point-bold {
  font-family: "Sulphur Point", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.noto-sans-mono-<uniquifier> {
  font-family: "Noto Sans Mono", monospace;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
body,button,input,select,textarea {
  font-family: "Noto Sans Mono", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* 1) Base + tokens */
:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 16px;
  --shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* adjust if your header height changes */
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}



.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }

/* 2) Header + nav */
.site-header {
  /*position: sticky;*/
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.head { height: 60px; display: flex; align-items: center; gap: 12px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;                 /* space between logo and text */
  text-decoration: none;
}

.brand .logo {
  display: inline-flex;
  align-items: center;
}

.brand .brand-logo {
  height: 24px;            /* tweak to taste */
  width: auto;
  display: block;
}

.brand,
.brand:link,
.brand:visited,
.brand:hover,
.brand:active {
  color: inherit;            /* use the header’s text color */
  text-decoration: none;     /* no underline */
}

/* Optional: keep a nice keyboard focus without color change */
.brand:focus-visible {
  outline: 2px solid #999;   /* tweak or remove if you have a global focus style */
  outline-offset: 2px;
}


#pmei-logo-div{
	display: block;              /* so margins work */
	margin: 150px auto;              /* centers horizontally */
	/* height: 50vh;      */
	
}
#pmei-logo{
	display: block;              /* so margins work */
	margin: 0px auto;              /* centers horizontally */
	width: clamp(50px, 50vw, 200px);
	height: auto;                /* keep aspect ratio */
}

#pmei-title{
	 font-family: "Fascinate", cursive;
	font-weight:bold;
	text-align: center;
	color:#101010;
}

/* Idle: slow float */
#pmei-logo-div {
  display: block;
  will-change: transform;
  animation: logo-float 4s ease-in-out infinite;
  transform-origin: 50% 100%;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}

#pmei-logo:hover {
  animation: none;                 /* pause float while hovering */
  transform: translateY(-5px) rotate(-5deg) scale(1.05);
  transition: transform .2s ease;
}


.nav { margin-left: auto; margin-right: 8px; display: none; gap: 10px; }
.nav .navlink { padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: inherit; font-size: 14px; }
.nav .navlink.active { border-color: #111; }
.nav .navlink:hover { background: #f4cf05; }

.socials { display: flex; gap: 8px; }
.icon { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 10px; color: inherit; text-decoration: none; background: #fff; }

@media (min-width: 860px) { .nav { display: flex; } }

/* 3) Footer */
.site-footer { border-top: 1px solid var(--border); padding: 14px 0; margin-top: 20px; }
.foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }

/* 4) App container */
.app { 
	min-height: calc(100dvh - 48px);
	padding: 16px 0; 
	}

/* 5) Headings */
.page-title { font-size: clamp(22px, 3.6vw, 34px); margin: 6px 0 10px; font-weight: 600; letter-spacing: -0.02em; }
.subhead { font-size: 14px; }

/* 6) Filters (tag chips) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.tag { padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font-size: 12px; cursor: pointer; }
.tag.active { background: #111; color: #fff; border-color: #111; }

/* 7) Grid + cards */
.grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { position: relative; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow); cursor: pointer; min-height:150px; }
/* Thumbnails: 3:4 (width:height) */
.card .cover {
  width: 100%;
  aspect-ratio: 3 / 4;   /* was 4 / 3 */
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.card:hover .cover { transform: scale(1.04); }
.card .meta { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; }
.card .title { font-weight: 600; font-size: 14px; }
.card .year { font-size: 12px; color: var(--muted); }
.card .pill { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, 0.45); color: #fff; font-size: 11px; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }

/* 8) Project layout */
.artwork { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
@media (min-width: 860px) { .artwork { grid-template-columns: 1fr 1.2fr; } }

.prose h1 { margin: 0; }
.prose .meta { color: var(--muted); margin-top: 6px; }

.media { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: min(70vh, 70dvh); object-fit: cover; display: block; }

.actions { display: flex; gap: 8px; margin-top: 14px; }
.btn { padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; }
.btn:hover { background: #f6f6f6; }

/* 9) Transitions / reveal helpers */
.view { opacity: 0; transform: translateY(6px); transition: opacity 0.28s ease, transform 0.28s ease; }
.view.enter { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(6px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }


.carousel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;                 /* adds nice frame for art */
}

.carousel img {
  width: 100%;
  height: min(80vh, 80dvh);
  object-fit: cover;                 /* change to 'contain' if you prefer no crop */
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Arrows */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.nav-btn.prev { left: 10px; }
.nav-btn.next { right: 10px; }
.nav-btn:hover { background: #fff; }

/* Dots */
.dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(0,0,0,.2);
  cursor: pointer;
}
.dot.active { background: #fff; }

/* about me bento box */
/* === Bento grid (About) === */
/* === Bento grid (About) — 3 rows, 7 tiles === */
:root { --bento-yellow:#f4cf05; }

.bento {
  display: grid;
  gap: 16px;                 /* was 12px; tweak if you like */
  margin-top: 10px;
}
/* Bento grid — add a 4th row that spans full width */
@media (min-width: 1200px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "A A A A A A A A B B B B"   /* Row 1 */
      "C C C C D D D D E E E E"   /* Row 2 */
      "F F F F F F F F G G G G"   /* Row 3 */
      "H H H H H H H H H H H H";  /* Row 4 — FULL WIDTH */
  }
  .a { grid-area: A; } .b { grid-area: B; } .c { grid-area: C; }
  .d { grid-area: D; } .e { grid-area: E; } .f { grid-area: F; }
  .g { grid-area: G; } .h { grid-area: H; }     /* NEW */
}

@media (min-width: 700px) and (max-width: 1199px) {
  .bento {
    grid-template-columns: repeat(8, 1fr);
    grid-template-areas:
      "A A A A A A B B"    /* Row 1 */
      "C C D D E E E E"    /* Row 2 */
      "F F F F G G G G"    /* Row 3 */
      "H H H H H H H H";   /* Row 4 — FULL WIDTH */
  }
  .a { grid-area: A; } .b { grid-area: B; } .c { grid-area: C; }
  .d { grid-area: D; } .e { grid-area: E; } .f { grid-area: F; }
  .g { grid-area: G; } .h { grid-area: H; }     /* NEW */
}

/* Optional: give the full-width tile a bit more presence */
.bento-item.full { min-height: 220px; }  /* tweak if you want taller */

/* Cards — +30% min size and hover yellow */
.bento-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 30px;
  line-height:1.5;
  min-height: 182px;                  /* was 140px → +30% */
  transition: background-color .2s ease, transform .2s ease;
}
.bento-item.tall { min-height: 286px; } /* was ~220px → +30% */

.bento-item:hover,
.bento-item:focus-within { background: var(--bento-yellow); }

.bento-item .kicker { color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.bento-item h3 { margin: 0 0 6px; font-size: clamp(18px, 2.2vw, 26px); }
.bento-item p  { margin: 0; }

.special-bento-box{
	background: var(--bento-yellow);
}
.special-bento-box:hover{
	background:white;
}

/* Button (hidden on desktop) */
.menu-btn {
  display: none;
  font: inherit;
  background: none;
  border: 1px solid var(--border, #ddd);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

/* Slide-down mobile menu (simple) */
.m-menu {
  display: none;
  position: absolute;
  top: var(--header-height, 64px); /* adjust if your header height differs */
  left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border, #eee);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: 10px 16px;
  z-index: 999;
}
.m-menu.open { display: block; }

.m-link {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: inherit;
  font-size: 16px;
}
.m-menu hr {
  border: 0; border-top: 1px solid var(--border, #eee); margin: 6px 0;
}

/* Mobile behavior: show button, hide desktop tabs */
@media (max-width: 768px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; }
}