/* blinker12.com — rebuilt from the original Origin/Elegant Themes design (teal #6ab3b2) */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --accent: #6ab3b2;
  --accent-dark: #5ea5a4;
  --sidebar-w: 260px;
}

html, body { height: 100%; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #464646;
  background: #fff;
}

/* ---------- Sidebar ---------- */
#sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--accent);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 48px 0 24px;
}

#logo-area { text-align: center; margin-bottom: 42px; }
#logo-area img { width: 194px; height: auto; }

#menu { list-style: none; border-top: 1px solid var(--accent-dark); }
#menu li { border-bottom: 1px solid var(--accent-dark); }
#menu a {
  display: block;
  padding: 15px 30px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
#menu a:hover, #menu li.current a { background: #fff; color: var(--accent); }

#sidebar .foot {
  margin-top: auto;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  padding: 20px 16px 0;
}

/* ---------- Photo wall ---------- */
#main { margin-left: var(--sidebar-w); }

#wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.18, 1.4, 0.4, 1), box-shadow 0.35s;
  will-change: transform;
}

.tile:hover { z-index: 11; }
.tile:hover img {
  transform: scale(1.35);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.55);
}

/* ---------- Fullscreen viewer ---------- */
#viewer {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.96);
  z-index: 1000;
  display: none;
  cursor: pointer;
}
#viewer.open { display: block; }
#viewer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Content pages (bio) ---------- */
.page-content {
  max-width: 640px;
  padding: 70px 60px;
  line-height: 1.75;
}
.page-content h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #4a4b4b;
  margin-bottom: 30px;
}
.page-content h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin: 28px 0 8px;
}
.page-content p { margin-bottom: 12px; }
.page-content .bio-portrait {
  float: right;
  width: 220px;
  height: auto;
  margin: 0 0 18px 26px;
}
.page-content .bio-havana {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
  margin-top: 44px;
}
@media (max-width: 767px) {
  .page-content .bio-portrait { float: none; display: block; width: 60%; margin: 0 0 22px; }
}
.page-content .pull {
  margin-top: 36px;
  font-style: italic;
  font-size: 17px;
  color: #4a4b4b;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  #sidebar {
    position: static;
    width: 100%;
    padding: 26px 0 0;
  }
  #logo-area { margin-bottom: 24px; }
  #main { margin-left: 0; }
  #wall { grid-template-columns: repeat(2, 1fr); }
  .tile:hover img { transform: none; box-shadow: none; }
  .page-content { padding: 40px 24px; }
}
