/*
Theme Name: Cole Harrill Portfolio
Author: Cole Harrill
Description: Personal portfolio theme for photography, video, and music.
Version: 1.0
*/

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

:root {
  --bg: #C8C8C8;
  --ink: #1A1A1A;
  --ink-mid: #555;
  --ink-faint: #888;
  --mono: 'Courier New', Courier, monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.4;
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 220px;
  height: 100vh;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.site-name {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 8px;
  text-decoration: none;
  display: block;
}

.tagline {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

nav a {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
nav a:hover { opacity: 0.45; }
nav a.active { text-decoration: underline; text-underline-offset: 3px; }

.main {
  margin-left: 220px;
  min-height: 100vh;
}

.page { display: none; }
.page.visible {
  display: block;
  animation: appear 0.3s ease forwards;
}
@keyframes appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* HOME */
.home-content { padding: 28px 40px 80px; }

.home-intro {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-mid);
  letter-spacing: 0.06em;
  margin-bottom: 80px;
  max-width: 400px;
  line-height: 1.9;
}

.home-featured {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 120px;
}

.home-img {
  width: 320px;
  flex-shrink: 0;
}

.home-img img {
  width: 100%;
  height: auto;
  display: block;
}

.home-featured-text { padding-top: 8px; }

.featured-eyebrow {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.featured-title {
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 16px;
}

.featured-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--mono);
}
.featured-link:hover { opacity: 0.5; }

/* SHARED ENTRY STRUCTURE */
.entry {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 130px;
}

/* MEDIA BLOCKS */
.media { flex-shrink: 0; }

.media img {
  width: 100%;
  height: auto;
  display: block;
}

.media iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Photography entry offsets */
#page-photography .e1  { margin-left: 40px;  flex-direction: row; }
#page-photography .e2  { margin-left: 280px; flex-direction: row-reverse; }
#page-photography .e5  { margin-left: 70px;  flex-direction: row; }
#page-photography .e6  { margin-left: 190px; flex-direction: row-reverse; }
#page-photography .e7  { margin-left: 55px;  flex-direction: row; }
#page-photography .e8  { margin-left: 340px; flex-direction: row-reverse; }
#page-photography .e9  { margin-left: 110px; flex-direction: row; }
#page-photography .e10 { margin-left: 230px; flex-direction: row-reverse; }
#page-photography .e11 { margin-left: 40px;  flex-direction: row; }
#page-photography .e12 { margin-left: 300px; flex-direction: row-reverse; }
#page-photography .e13 { margin-left: 80px;  flex-direction: row; }
#page-photography .e14 { margin-left: 240px; flex-direction: row-reverse; }
#page-photography .e15 { margin-left: 60px;  flex-direction: row; }

/* Photography media sizes */
#page-photography .e1  .media { width: 340px; }
#page-photography .e2  .media { width: 260px; }
#page-photography .e5  .media { width: 380px; }
#page-photography .e6  .media { width: 300px; }
#page-photography .e7  .media { width: 440px; }
#page-photography .e8  .media { width: 320px; }
#page-photography .e9  .media { width: 260px; }
#page-photography .e10 .media { width: 380px; }
#page-photography .e11 .media { width: 440px; }
#page-photography .e12 .media { width: 300px; }
#page-photography .e13 .media { width: 360px; }
#page-photography .e14 .media { width: 280px; }
#page-photography .e15 .media { width: 420px; }

/* ENTRY PAIR */
.entry-pair {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 130px;
  margin-left: 70px;
}

.entry-pair .media {
  width: 240px;
  flex-shrink: 0;
}

.entry-pair .meta {
  text-align: center;
  min-width: 140px;
}

/* Video entry offsets */
#page-video .v1 { margin-left: 40px;  flex-direction: row; }
#page-video .v2 { margin-left: 210px; flex-direction: row-reverse; }
#page-video .v3 { margin-left: 60px;  flex-direction: row; }

/* Video media sizes */
#page-video .v1 .media { width: 440px; aspect-ratio: 16/9; }
#page-video .v2 .media { width: 320px; aspect-ratio: 16/9; }
#page-video .v3 .media { width: 500px; aspect-ratio: 16/9; }

/* Music offsets */
#page-music .entry:nth-child(1) { margin-left: 40px;  flex-direction: row; }
#page-music .entry:nth-child(2) { margin-left: 260px; flex-direction: row-reverse; }
#page-music .entry:nth-child(3) { margin-left: 40px;  flex-direction: row; }

/* Music media */
#page-music .media { width: 220px; }
#page-music .media img { width: 100%; height: auto; display: block; }

/* Audio players */
.track-audio {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.track-audio .track {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.track-audio .track audio {
  width: 240px;
  height: 28px;
  accent-color: var(--ink);
}

.mixtape-download { margin-top: 20px; }

.mixtape-download a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--mono);
}
.mixtape-download a:hover { opacity: 0.5; }

.music-placeholder {
  width: 220px;
  height: 220px;
  background: #282828;
  flex-shrink: 0;
}

/* META TEXT */
.meta { padding-top: 4px; min-width: 160px; }

.meta-title {
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.meta-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mid);
  margin-bottom: 3px;
}

.meta-detail {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

/* TRACK LIST */
.tracks {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.track {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-mid);
  border-top: 1px solid rgba(0,0,0,0.18);
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.15s;
  max-width: 260px;
}
.track:hover { color: var(--ink); }
.track-n { color: var(--ink-faint); min-width: 18px; }

/* COLOR FILLS */
.f1  { background: #6a6560; }
.fm1 { background: #282828; }
.fm2 { background: #303028; }
.fm3 { background: #282038; }

.page-inner { padding: 28px 0 140px; }
