/* ============================================================
   ISHADS — Global Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   @font-face — Halyard Display (local files)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Halyard Display';
  src: url('../Fonts/Halyard Display font/fonts/fonnts.com-Halyard_Display_Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------
   CSS Custom Properties — Design Tokens
   ------------------------------------------------------------ */
:root {
  /* Dark theme colors */
  --dark-bg:          #000000;
  --dark-bg-soft:     #131313;
  --dark-surface:     #1b1b1b;
  --dark-text:        #ffffff;
  --dark-text-dim:    #e2e2e2;
  --dark-text-muted:  #666666;
  --dark-border:      #444748;
  --dark-border-soft: #8e9192;

  /* Light theme colors */
  --light-bg:         #f9f9f9;
  --light-bg-white:   #ffffff;
  --light-surface:    #eeeeee;
  --light-text:       #1b1b1b;
  --light-text-muted: #4c4546;
  --light-border:     #000000;
  --light-border-soft:#7e7576;

  /* Shared accent */
  --accent:           #3898EC;

  /* Typography */
  --font-primary: 'Halyard Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --margin-desktop: 32px;
  --margin-mobile:  16px;
  --gutter:         24px;
}

/* ------------------------------------------------------------
   Reset
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

ul, ol {
  list-style: none;
}

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

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

input {
  font-family: inherit;
}

/* ------------------------------------------------------------
   Scrollbar hiding
   ------------------------------------------------------------ */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide all scrollbars on dark pages */
.page-dark ::-webkit-scrollbar { display: none; }
.page-dark * {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ------------------------------------------------------------
   Dark Page Base
   ------------------------------------------------------------ */
.page-dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
  overflow: hidden;
  height: 100vh;
}

.page-dark ::selection {
  background: var(--dark-text);
  color: var(--dark-bg);
}

/* ------------------------------------------------------------
   Light Page Base
   ------------------------------------------------------------ */
.page-light {
  background-color: var(--light-bg);
  color: var(--light-text);
  position: relative;
}

.page-light ::selection {
  background: var(--light-text);
  color: var(--light-bg);
}

/* ------------------------------------------------------------
   Fixed Header (dark pages)
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  z-index: 50;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.header-hidden .site-header {
  opacity: 0;
  pointer-events: none;
}

.header-hidden .site-header__brand {
  pointer-events: none;
}

.site-header__brand {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: auto;
  transition: opacity 0.15s ease;
}

.site-header__brand:hover {
  opacity: 0.6;
}

/* ------------------------------------------------------------
   Split Layout (dark pages: archive, about)
   ------------------------------------------------------------ */
.split-layout {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
}

.split-left {
  width: 38%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  pointer-events: none;
}

.split-left__title {
  position: fixed;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: auto;
}

.split-left__title h1 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.split-right {
  width: 62%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 12px;
  padding-right: 16px;
  padding-bottom: 80px;
  padding-left: 16px;
  position: relative;
}

/* ------------------------------------------------------------
   Data Grid Rows (writings list)
   ------------------------------------------------------------ */
.data-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.data-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.06s ease, color 0.06s ease;
  color: var(--dark-text-dim);
  text-decoration: none;
  line-height: 1.25;
}

.data-grid:hover .data-row {
  color: #444444;
}

.data-grid:hover .data-row:hover {
  color: #ffffff;
}

.data-row__title {
  grid-column: span 6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-row__year {
  grid-column: 9 / span 1;
  opacity: 0.5;
}

.data-row__category {
  grid-column: 11 / -1;
  text-align: left;
}

/* ------------------------------------------------------------
   Intro Text (writings intro paragraph)
   ------------------------------------------------------------ */
.intro-text {
  margin-bottom: 80px;
}

.intro-text p {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
  color: var(--dark-text-dim);
}

/* ------------------------------------------------------------
   Fixed Footer (dark pages)
   ------------------------------------------------------------ */
.site-footer {
  position: fixed;
  bottom: 12px;
  right: 16px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-text-muted);
}

.site-footer__links a {
  pointer-events: none;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: var(--dark-text);
}

.site-footer__clock {
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------
   Newsletter Bar (dark pages, fixed bottom-left)
   ------------------------------------------------------------ */
.newsletter-bar {
  position: fixed;
  bottom: 12px;
  left: 16px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-text-muted);
}

.newsletter-bar__label {
  white-space: nowrap;
}

.newsletter-bar form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-bar input[type="email"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid #666666;
  color: var(--dark-text);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  width: 92px;
  outline: none;
  transition: border-color 0.15s ease;
}

.newsletter-bar input[type="email"]::placeholder {
  color: #666666;
}

.newsletter-bar input[type="email"]:focus {
  border-bottom-color: var(--dark-text);
}

.newsletter-bar button[type="submit"] {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-text-muted);
  transition: color 0.15s ease;
}

.newsletter-bar button[type="submit"]:hover {
  color: var(--dark-text);
}

/* ------------------------------------------------------------
   Floating Action Button (dark pages)
   ------------------------------------------------------------ */
.fab {
  position: fixed;
  top: 50%;
  right: var(--margin-desktop);
  transform: translateY(-50%);
  z-index: 50;
  display: none;
}

@media (min-width: 1024px) {
  .fab {
    display: block;
  }
}

.fab__btn {
  width: 56px;
  height: 56px;
  background: var(--dark-text);
  color: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 300;
  mix-blend-mode: difference;
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.fab__btn:hover {
  transform: scale(1.1);
}

/* ------------------------------------------------------------
   Light Page Nav
   ------------------------------------------------------------ */
.light-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px var(--margin-mobile);
  background: var(--light-bg);
}

.light-nav__brand {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--light-text);
  transition: opacity 0.15s ease;
}

.light-nav__brand:hover {
  opacity: 0.6;
}

/* ------------------------------------------------------------
   Blog Post Layout (light page)
   ------------------------------------------------------------ */
.post-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}

.post-header {
  width: 100%;
  max-width: 640px;
  text-align: center;
  margin-bottom: 64px;
}

.post-header__title {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--light-text);
  margin-bottom: 16px;
}

.post-header__meta {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-text-muted);
}

.post-body {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-body p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
  color: var(--light-text);
}

.post-body h2 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--light-text);
  margin-top: 16px;
}

.post-body h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--light-text);
}

.post-body ul, .post-body ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }

.post-img {
  width: min(960px, calc(100vw - 32px));
  height: auto;
  display: block;
  margin: 28px 0;
  border: 1px solid #e0e0e0;
  cursor: zoom-in;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.post-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 8px 0;
}

.post-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin: 28px 0;
}

.post-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.post-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 40px 40px;
}

.post-lightbox.is-open {
  display: flex;
}

.post-lightbox .lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  cursor: default;
}

.post-body li {
  font-size: 16px;
  line-height: 1.75;
  color: var(--light-text);
}

/* ------------------------------------------------------------
   Light Page Footer
   ------------------------------------------------------------ */
.light-footer {
  background: var(--light-bg);
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px var(--margin-mobile);
  border-top: 1px solid var(--light-surface);
}

.light-footer__newsletter {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.light-footer__newsletter input[type="email"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--light-text);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0 2px 0;
  width: 160px;
  outline: none;
  color: var(--light-text);
}

.light-footer__newsletter input[type="email"]::placeholder {
  color: var(--light-text-muted);
}

.light-footer__newsletter button {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-text);
  transition: opacity 0.15s ease;
}

.light-footer__newsletter button:hover { opacity: 0.6; }

.light-footer__links {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--light-text);
  flex-wrap: wrap;
}

.light-footer__links a {
  transition: opacity 0.15s ease;
}

.light-footer__links a:hover { opacity: 0.5; }

/* ------------------------------------------------------------
   Light page overrides for shared header/footer/newsletter
   ------------------------------------------------------------ */
.page-light .site-header__brand {
  color: var(--light-text);
}

.page-light .site-footer__links {
  color: var(--light-text-muted);
}

.page-light .site-footer__links a:hover {
  color: var(--light-text);
}

.page-light .newsletter-bar {
  color: var(--light-text-muted);
}

.page-light .newsletter-bar input[type="email"] {
  border-bottom-color: #999999;
  color: var(--light-text);
}

.page-light .newsletter-bar input[type="email"]::placeholder {
  color: #999999;
}

.page-light .newsletter-bar input[type="email"]:focus {
  border-bottom-color: var(--light-text);
}

.page-light .newsletter-bar button[type="submit"] {
  color: var(--light-text-muted);
}

.page-light .newsletter-bar button[type="submit"]:hover {
  color: var(--light-text);
}

/* ------------------------------------------------------------
   Portfolio Layout (3-column dark)
   ------------------------------------------------------------ */
.portfolio-main {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 12px 16px 16px;
  gap: 0;
  align-items: flex-start;
  overflow: hidden;
  height: 100vh;
}

/* Left column: project list */
.portfolio-list-col {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
  height: 100%;
}

.portfolio-list-col__label {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
  color: var(--dark-text);
  margin-bottom: 24px;
}

.portfolio-list {
  display: flex;
  flex-direction: column;
}

.portfolio-list__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--dark-text-dim);
  line-height: 1.25;
  transition: color 0.06s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.portfolio-list:hover .portfolio-list__item {
  color: #444444;
}

.portfolio-list:hover .portfolio-list__item:hover,
.portfolio-list:hover .portfolio-list__item.is-active {
  color: #ffffff;
}

.portfolio-list__item.is-active {
  color: #ffffff;
}

.portfolio-list:has(.is-active) .portfolio-list__item:not(.is-active) {
  color: #444444;
}

.portfolio-list:has(.is-active) .portfolio-list__item:not(.is-active):hover {
  color: #ffffff;
}

/* Center column: image */
.portfolio-image-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  padding-left: 16px;
}

.portfolio-image-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: auto;
}

.portfolio-image-nav__btn {
  background: none;
  border: none;
  color: var(--dark-text);
  opacity: 0.5;
  font-size: 28px;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0;
}

.portfolio-image-nav__btn:hover {
  opacity: 1;
}

.portfolio-image-wrap {
  position: relative;
  width: 100%;
  max-width: 494px;
  height: auto;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
}

.portfolio-image-wrap::-webkit-scrollbar {
  display: none;
}

.portfolio-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-image-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.portfolio-image-wrap:hover .portfolio-image-overlay {
  opacity: 1;
}

.portfolio-image-overlay__btn {
  width: 36px;
  height: 36px;
  background: var(--dark-bg);
  border: 1px solid var(--dark-text);
  color: var(--dark-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.portfolio-image-overlay__btn:hover {
  background: var(--dark-text);
  color: var(--dark-bg);
}

/* Right column: project details */
.portfolio-detail-col {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding-left: 40px;
  overflow-y: auto;
}

.portfolio-detail-col__title {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark-text);
  margin-bottom: 28px;
}

.portfolio-detail-col__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-detail-col__body p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: var(--dark-text-dim);
}

/* ------------------------------------------------------------
   About Page: Right Column Content
   ------------------------------------------------------------ */
.about-image-wrap {
  width: 100%;
  max-width: 600px;
  margin-bottom: 32px;
}

.about-image-wrap__inner {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--dark-surface);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-bio {
  max-width: 600px;
  margin-bottom: 80px;
}

.about-bio p {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: -0.01em;
  color: var(--dark-text-dim);
  margin-bottom: 20px;
}

.about-bio p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   Mobile Responsive
   ------------------------------------------------------------ */
@media (max-width: 767px) {

  /* Dark page split collapses to single column */
  .page-dark {
    overflow: auto;
    height: auto;
    min-height: 100vh;
  }

  /* Sticky footer — push footer to very bottom */
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  .split-layout {
    flex: 1;
  }

  .split-layout {
    flex-direction: column;
    height: auto;
  }

  .split-left {
    width: 100%;
    height: auto;
    padding: 80px var(--margin-mobile) var(--margin-mobile);
  }

  .split-left__title {
    position: static;
    transform: none;
  }

  .split-left__title h1 {
    font-size: 36px;
  }

  .split-right {
    width: 100%;
    height: auto;
    overflow-y: visible;
    padding: var(--margin-mobile);
    padding-bottom: 8px;
  }

  .site-header {
    padding: var(--margin-mobile);
  }

  .site-footer {
    position: static;
    padding: 6px var(--margin-mobile) 4px;
  }

  .site-footer__links {
    gap: 12px;
    font-size: 10px;
    justify-content: flex-end;
  }

  .newsletter-bar {
    position: static;
    padding: 4px var(--margin-mobile) 10px;
    font-size: 10px;
  }

  .newsletter-bar input[type="email"] {
    width: 120px;
  }

  .fab {
    display: none;
  }

  /* Portfolio collapses to single column */
  .portfolio-main {
    flex-direction: column;
    height: auto;
    overflow: visible;
    padding: 80px var(--margin-mobile) 120px;
    gap: 40px;
  }

  .portfolio-list-col {
    width: 100%;
    height: auto;
    padding-right: 0;
    justify-content: flex-start;
  }

  .portfolio-image-col {
    height: auto;
  }

  .portfolio-image-wrap {
    max-width: 240px;
  }

  .portfolio-detail-col {
    width: 100%;
    height: auto;
    padding-left: 0;
    justify-content: flex-start;
  }

  /* Post page */
  .post-main {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .post-header {
    margin-bottom: 40px;
  }

  /* Light footer */
  .light-footer {
    gap: 16px;
  }

  .light-footer__links {
    gap: 16px;
  }
}

@media (min-width: 768px) {
  /* Post page — constrain to 40vw on desktop */
  .post-header,
  .post-body {
    max-width: min(640px, 40vw);
  }

  /* Light footer row layout */
  .light-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding: 24px 48px;
  }
}

/* ------------------------------------------------------------
   Chevron/arrow buttons (portfolio nav, text-based)
   ------------------------------------------------------------ */
.chevron-btn {
  font-size: 28px;
  color: var(--dark-text);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.15s ease;
  user-select: none;
  line-height: 1;
}

.chevron-btn:hover {
  opacity: 1;
}


/* ------------------------------------------------------------
   Lightbox / Presentation Mode
   ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 300;
  display: none;
  flex-direction: row;
  align-items: stretch;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lightbox__scroll::-webkit-scrollbar {
  display: none;
}

.lightbox__img {
  width: 100%;
  height: auto;
  display: block;
  cursor: default;
}

.lightbox__nav-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  padding: 0 20px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.15s ease;
}

.lightbox__nav-btn:hover {
  opacity: 1;
}

.lightbox__close {
  position: fixed;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.15s ease;
  z-index: 301;
  padding: 4px 8px;
}

.lightbox__close:hover {
  opacity: 1;
}

/* Footer revealed when right panel scrolled to bottom */
.footer-visible .site-footer {
  opacity: 1;
  pointer-events: auto;
}

.footer-visible .site-footer * {
  pointer-events: auto;
}

.footer-visible .newsletter-bar {
  opacity: 1;
  pointer-events: auto;
}

.footer-visible .newsletter-bar * {
  pointer-events: auto;
}

/* ------------------------------------------------------------
   Archive FAB (decorative plus button)
   ------------------------------------------------------------ */
.archive-fab {
  position: fixed;
  top: 50%;
  left: 66.67%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #000000;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 300;
  z-index: 20;
  pointer-events: none;
  user-select: none;
}

.archive-fab--about {
  top: 80%;
  left: 28%;
}

.archive-fab--black {
  background: #ffffff;
  color: #000000;
  mix-blend-mode: difference;
  top: 45%;
  left: 82%;
}

.archive-fab--post {
  position: absolute;
  top: 78vh;
  left: auto;
  right: 5%;
  transform: translate(0, -50%);
  background: #000000;
  color: #ffffff;
}

/* ------------------------------------------------------------
   Utility: visually hidden (accessibility)
   ------------------------------------------------------------ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
