/* =============================================================================
   styles.css — Brian Kemper Personal Site
   Structure:
     1. Design Tokens (CSS custom properties)
     2. Reset & Base
     3. Navigation
     4. Hero
     5. Shared Section Utilities
     6. Photography Section
     7. Lightbox
     8. Work / Timeline
     9. Blog
    10. Contact
    11. Footer
    12. Animations & Scroll Reveal
    13. Responsive Breakpoints
   ============================================================================= */


/* =============================================================================
   1. DESIGN TOKENS
   ============================================================================= */

:root {
  --bg:    #f8f8f6;
  --bg2:   #f0f0ec;
  --bg3:   #e2e2dc;
  --fg:    #111110;
  --fg2:   #444440;
  --fg3:   #909088;
  --rule:  rgba(0, 0, 0, 0.09);
  --nav-h: 60px;
}

[data-theme="dark"] {
  --bg:   #111110;
  --bg2:  #1a1a18;
  --bg3:  #262622;
  --fg:   #f0f0ec;
  --fg2:  #a8a8a2;
  --fg3:  #555550;
  --rule: rgba(255, 255, 255, 0.08);
}


/* =============================================================================
   2. RESET & BASE
   ============================================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Sora', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 15px;
  line-height: 1.65;
  transition: background 0.22s ease, color 0.22s ease;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}


/* =============================================================================
   3. NAVIGATION
   ============================================================================= */

#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  z-index: 200;
  transition: border-color 0.22s, background 0.22s;
}

#navbar.scrolled {
  border-color: var(--rule);
}

.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--fg);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg3);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--fg);
}

/* Theme toggle pill */
.theme-toggle {
  width: 36px;
  height: 20px;
  border-radius: 10px;
  background: var(--bg3);
  border: 1px solid var(--rule);
  position: relative;
  transition: background 0.22s;
  flex-shrink: 0;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--fg3);
  transition: transform 0.22s, background 0.22s;
}

[data-theme="dark"] .theme-toggle::after {
  transform: translateX(16px);
  background: var(--fg2);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  z-index: 199;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg2);
}


/* =============================================================================
   4. HERO
   ============================================================================= */

#home {
  --section-max: 1180px;
  min-height: 100svh;
  padding-top: var(--nav-h);
  padding-left: 0;
  padding-right: 0;
}

#home .section-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding-left: clamp(1.5rem, 10vw, 9rem);
  padding-right: clamp(1.5rem, 6vw, 5rem);
  gap: 4rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 0;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.1s forwards;
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4.2vw, 4.6rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.22s forwards;
}

.hero-headline em {
  font-style: italic;
  color: var(--fg2);
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--fg2);
  max-width: 54ch;
  line-height: 1.8;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.36s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  grid-column: 1 / -1;
  margin-top: -2.8rem;
  opacity: 0;
  animation: fadeUp 0.7s 0.48s forwards;
}

.hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem 4rem 0;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}

.hero-photo img {
  width: min(320px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(8%);
  transition: filter 0.4s;
}

.hero-photo img:hover {
  filter: grayscale(0%);
}

/* Shared buttons */
.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--fg);
  color: var(--fg);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn-ghost {
  border-color: var(--rule);
  color: var(--fg2);
}

.btn-ghost:hover {
  border-color: var(--fg2);
  background: transparent;
  color: var(--fg);
}


/* =============================================================================
   5. SHARED SECTION UTILITIES
   ============================================================================= */

section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 10vw, 9rem);
}

.section-inner {
  width: min(100%, var(--section-max, 1200px));
  margin: 0 auto;
}

#photography,
#blog {
  background: var(--bg2);
}

#photography {
  --section-max: 1710px;
  padding-left: 0;
  padding-right: 0;
}

#blog {
  --section-max: 1710px;
}

#contact {
  --section-max: 1200px;
}

#work {
  --section-max: 1028px;
}

#photography .section-inner {
  padding-left: clamp(1.5rem, 10vw, 9rem);
  padding-right: clamp(1.5rem, 10vw, 9rem);
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--rule);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}


/* =============================================================================
   6. PHOTOGRAPHY SECTION
   ============================================================================= */

.photo-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 2rem;
}

.photo-desc {
  font-size: 0.875rem;
  color: var(--fg2);
  line-height: 1.85;
}

.photo-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.filter-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--rule);
  color: var(--fg3);
  transition: all 0.2s;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--fg);
  color: var(--fg);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 2rem;
}

.photo-cell {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  cursor: pointer;
  aspect-ratio: 1;
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

.photo-cell:hover img {
  transform: scale(1.04);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  transition: background 0.3s;
  z-index: 2;
}

.photo-cell:hover .photo-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.photo-caption {
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.28s;
}

.photo-cell:hover .photo-caption {
  opacity: 1;
  transform: translateY(0);
}

.photo-caption-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: #fff;
  font-style: italic;
}

.photo-caption-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.photo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.photo-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--fg3);
}


/* =============================================================================
   7. LIGHTBOX
   ============================================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

/* Outer wrapper gives us the full-screen area for nav buttons */
.lb-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 4rem 5rem;
}

/* Image + counter container */
.lb-img-wrap {
  position: relative;
  max-width: min(90vw, 900px);
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}

/* Close button — top-right of the viewport */
.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  padding: 0.5rem;
}

.lb-close:hover {
  color: #fff;
}

/* SVG icon inside close button */
.lb-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

/* Prev / Next arrow buttons */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.lb-nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.lb-prev {
  left: 1.5rem;
}

.lb-next {
  right: 1.5rem;
}

/* Counter below the image */
.lb-counter {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}


/* =============================================================================
   8. WORK / TIMELINE
   ============================================================================= */

.work-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
}

.work-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  height: fit-content;
}

.work-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 400;
  margin-bottom: 0.9rem;
  line-height: 1.25;
}

.work-sidebar-bio {
  font-size: 0.875rem;
  color: var(--fg2);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.work-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.work-sidebar-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.work-sidebar-link::before {
  content: '↗';
  font-size: 0.7rem;
}

.work-sidebar-link:hover {
  color: var(--fg);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 0;
  width: 1px;
  background: var(--rule);
}

.tl-item {
  padding-left: 2rem;
  padding-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s, transform 0.5s;
}

.tl-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.tl-dot {
  position: absolute;
  left: -4px; top: 6px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--fg3);
}

.tl-item:first-child .tl-dot {
  border-color: var(--fg);
  background: var(--fg);
}

.tl-period {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg3);
  margin-bottom: 0.5rem;
}

.tl-role {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

.tl-org {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg2);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}

.tl-desc {
  font-size: 0.875rem;
  color: var(--fg2);
  line-height: 1.8;
  max-width: 58ch;
  margin-bottom: 0.9rem;
}

.tl-bullets {
  padding-left: 1.1rem;
  list-style: disc;
}

.tl-bullets li {
  margin-bottom: 0.4rem;
}

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

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.tl-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.26rem 0.7rem;
  border: 1px solid var(--rule);
  color: var(--fg3);
}


/* =============================================================================
   9. BLOG
   ============================================================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 2.5rem;
}

.post-card {
  display: block;
  color: inherit;
  background: var(--bg2);
  padding: 2rem 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
  cursor: pointer;
}

.post-card:hover {
  background: var(--bg);
}

.post-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 2rem; right: 2rem;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.post-card:hover::after {
  transform: scaleX(1);
}

.post-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.16em;
  color: var(--fg3);
  margin-bottom: 1.25rem;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.post-excerpt {
  font-size: 0.83rem;
  color: var(--fg2);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.post-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
}

.post-arrow {
  font-size: 0.9rem;
  color: var(--fg3);
  transition: transform 0.2s, color 0.2s;
}

.post-card:hover .post-arrow {
  transform: translate(3px, -3px);
  color: var(--fg);
}

.post-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 0.6rem;
  cursor: default;
}

.post-soon:hover {
  background: var(--bg2);
}

.post-soon::after {
  display: none;
}

.post-soon-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg3);
}

.post-soon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg3);
  animation: pulse 2s infinite;
}


/* =============================================================================
   9.5 BLOG POST
   ============================================================================= */

#post {
  --section-max: 1028px;
}

.article-hero {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.article-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg3);
}

.article-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
}

.article-hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
  filter: grayscale(5%);
}

.article-body {
  display: grid;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--fg2);
  line-height: 1.9;
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--fg);
  margin-top: 1rem;
}

.article-body h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
}

.article-body blockquote {
  border-left: 2px solid var(--rule);
  padding-left: 1.2rem;
  color: var(--fg);
  font-style: italic;
}

.article-back {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg3);
  transition: color 0.2s;
}

.article-back:hover {
  color: var(--fg);
}


/* =============================================================================
   10. CONTACT
   ============================================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: start;
}

.contact-statement {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.45;
}

.contact-statement em {
  font-style: italic;
  color: var(--fg2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg3);
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 0.6rem 0;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--fg);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--fg3);
}

.form-textarea {
  min-height: 90px;
}

.form-submit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 0;
  border: none;
  border-top: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: var(--fg);
  color: var(--bg);
  padding-left: 0.8rem;
  padding-right: 0.8rem;
}


/* =============================================================================
   11. FOOTER
   ============================================================================= */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--rule);
  padding: 2.5rem clamp(1.5rem, 10vw, 9rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--fg2);
}

.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  color: var(--fg3);
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg3);
  transition: color 0.2s;
}

.footer-socials a:hover {
  color: var(--fg);
}


/* =============================================================================
   12. ANIMATIONS & SCROLL REVEAL
   ============================================================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.4); }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================================================================
   13. RESPONSIVE BREAKPOINTS
   ============================================================================= */

@media (max-width: 1000px) {
  #home .section-inner {
    grid-template-columns: 1fr;
    padding-right: clamp(1.5rem, 10vw, 9rem);
    gap: 1.4rem;
  }

  .hero-text {
    padding: 2rem 0 0;
  }

  .hero-cta {
    margin-top: 1.6rem;
  }

  .hero-sub {
    margin-bottom: 0.3rem;
  }

  .hero-photo {
    display: flex;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .nav-links    { display: none; }
  .hamburger    { display: flex; }

  .photo-intro  { grid-template-columns: 1fr; gap: 1.5rem; }
  .photo-grid   { grid-template-columns: repeat(2, 1fr); }
  .photo-grid > .photo-cell:nth-child(odd):last-child {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc((100% - 6px) / 2);
    justify-self: center;
  }

  .work-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .work-sidebar { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.6rem; }
  .photo-grid    { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  footer         { flex-direction: column; align-items: flex-start; }
}
