/* Top bar container */
* { 
  box-sizing: border-box; 
  margin: 0; 
}

/* Hide cursor on all elements - will be overridden by cursor fallback if needed */
* {
  cursor: none !important;
}
html, body { height: 100%; overflow: hidden; }

/* Allow scrolling on mobile */
@media (max-width: 768px) {
  html, body { 
    overflow-x: hidden;
    overflow-y: auto; 
    height: auto;
  }
}
body { 
  font-family: 'Guyot Press', 'Georgia', serif; 
  background-color: #F8F3E7; /* Cream background */
}

/* Desktop homepage left column blue background */
.split .col-left {
  background-color: #0002AA !important;
}

/* Scatter button always on top */
.scatter {
  z-index: 99999 !important;
  position: relative;
}



@font-face {
  font-family: 'Nautica';
  src: url('./fonts/Nautica Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guyot Press';
  src: url('./fonts/Guyot Press v1.000/GuyotPress-Regular1.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guyot Press';
  src: url('./fonts/Guyot Press v1.000/GuyotPress-RegularItalic1.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Guyot Headline';
  src: url('./fonts/Guyot Headline v2.000/GuyotHeadline-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guyot Headline';
  src: url('./fonts/Guyot Headline v2.000/GuyotHeadline-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Guyot Headline';
  src: url('./fonts/Guyot Headline v2.000/GuyotHeadline-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Guyot Headline';
  src: url('./fonts/Guyot Headline v2.000/GuyotHeadline-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

.split { display: grid; grid-template-columns: 60% 40%; width: 100vw; height: 100dvh; }
.col-left { 
  background: transparent; 
  position: relative; 
}


.col-right { 
  background: #F8F3E7; 
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  height: 100vh;
}


/* Project Divider styles */
.project-divider {
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin: 60px 0;
}

/* Tooltip styles */
.tooltip {
  position: fixed;
  color: white;
  background-color: #0002AA;
  padding: 0 2px;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
}

.tooltip.visible {
  opacity: 1;
}


.right-categories {
  padding: 40px;
}
.col-right .cat-title { color: #111; }
.col-right .cat-text { color: #111; opacity: 0.9; }

.right-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 40%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 40px;
  color: #111;
  font-family: 'Guyot Press', 'Georgia', serif;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.right-content.fade-in {
  opacity: 1;
}

.right-content .scatter { 
  background: none;
  border: none;
  text-decoration: none; 
  font-style: italic; 
  text-transform: uppercase; 
  padding: 10px;
  margin: -10px;
  color: #00022a;
  transition: color 0.2s ease;
  position: relative;
  z-index: 10001;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.right-content .scatter:hover { 
  color: #85774B; 
}

.left-top-bar {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  padding: 40px 40px 0 40px;
  color: #ffffff;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 1s ease-out;
  transform: translateX(0);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

.left-top-bar.fade-in {
  opacity: 1;
}


.left-top-bar #clock { 
  position: relative;
  left: 0;
  opacity: 0.95;
}

.left-top-bar .location { 
  position: relative;
  right: 0;
  opacity: 0.95;
}



/* .left-stack positioning is now handled by flexbox above */


.name,
.tagline,
.bio,
.left-categories {
  opacity: 0 !important;
  transition: opacity 0.4s ease-out !important;
}

.name.fade-in {
  opacity: 1 !important;
}


.tagline.fade-in,
.bio.fade-in,
.left-categories.fade-in {
  opacity: 1 !important;
}
.left-stack .name {
  color: #ffffff;
  font-family: 'Nautica', 'Arial', sans-serif;
  font-size: 110px;
  line-height: 0.8;
  font-weight: 500;
  letter-spacing: 0px;
  text-align: center;
  width: 100%;
  pointer-events: auto;
  transition: color 0.25s ease;
  position: relative;
  z-index: 1;
  font-feature-settings: "liga" 1, "dlig" 1;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
  margin-top: 40px;
}
.left-stack .name:hover { color: #85774B; }
.container-identity .tagline,
.left-stack .tagline {
  margin-top: -25px;
  padding-top: 20px;
  color: #ffffff;
  opacity: 0.9;
  text-align: center;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 2; /* above the name */
}
.container-bio .bio,
.left-stack .bio {
  max-width: 900px;
  color: #ffffff;
  opacity: 0.9;
  font-family: 'Guyot Press', 'Georgia', serif; /* same as clock */
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  margin: 40px 0 0 0;
}
.left-stack .bio, .left-categories { pointer-events: auto; }
.left-stack .bio a {
  color: #ffffff;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}
.left-stack .bio a:hover { color: #85774B; }
.left-stack .bio a::after,
.cat-text a::after {
  content: "↗";
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 6px;
  color: currentColor;
  font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.left-stack .bio a:hover::after,
.cat-text a:hover::after {
  opacity: 1;
}

/* Ensure bio links shift following text to make space for hover arrow */
.left-stack .bio a:hover,
.left-stack .bio a:focus {
  padding-right: 20px;
}

/* Keep arrow visually in place while text shifts to make room */
.left-stack .bio a:hover::after,
.left-stack .bio a:focus::after {
  transform: translateX(-20px);
}

.container-categories .left-categories,
.left-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px 32px;
  max-width: 900px;
  margin: 40px 0 0 0;
}

/* Row 1 */
.left-categories .cat-things { grid-column: 1; grid-row: 1; }
.left-categories .cat-elsewhere { grid-column: 2; grid-row: 1; }

/* Row 2: Selected (span 2 columns) */
.left-categories .cat-selected { grid-column: 1 / span 2; grid-row: 2; }

/* Row 3: USA left, UAE right */
.left-categories .cat-usa { grid-column: 1; grid-row: 3; }
.left-categories .cat-uae { grid-column: 2; grid-row: 3; }
.cat-title {
  color: #ffffff;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 200;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.cat-title.no-uppercase { text-transform: none; }

.cat-text {
  color: #ffffff;
  opacity: 0.9;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
}
.cat-text a { color: inherit; text-decoration: underline; transition: color 0.2s ease; position: relative; }
.col-right .cat-text a { color: #111; }
.cat-text a:hover { color: #85774B; }

/* Global nav (shared by projects & musings) */
.nav {
  position: sticky;
  top: 0;
  background: transparent;
  padding: 40px 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: visible;
  z-index: 1000;
}

.nav-name {
  font-family: 'Nautica', 'Arial', sans-serif;
  font-size: clamp(36px, 8vw, 64px);
  color: #0002AA;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  display: inline-block;
  overflow: visible;
  padding: 0 24px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-name:hover { opacity: 0.5; }

.nav-email {
  color: #0002AA;
  text-decoration: none;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.nav-email:hover { opacity: 0.5; }

/* Nav left links (upper-left) */
.nav-left {
  position: absolute;
  left: 50px;
  display: flex;
  gap: 32px;
}
.nav-left a {
  color: #0002AA;
  text-decoration: none;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  opacity: 0.9;
  transition: color 0.2s ease;
  position: relative;
}
.nav-left a:hover { color: #85774B; }
.nav-left a.active {
  opacity: 1;
}
.nav-left a.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #0002AA;
}

/* Mobile navigation - stack name first, then links below */
@media (max-width: 768px) {
  .nav {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #F8F3E7 !important;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    gap: 15px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .nav-name {
    position: static;
    transform: none;
    order: 1;
  }
  
  .nav-left {
    position: static;
    order: 2;
    justify-content: center;
    gap: 24px;
  }
  
  .nav-email {
    display: none;
  }
}

/* Responsive reorder: show Things I Do above Selected Clients on narrow screens */
@media (max-width: 900px) {
  .left-categories {
    grid-template-columns: 1fr;
  }
  .left-categories .right-col {
    grid-row: 1;
  }
  .left-categories .left-col {
    grid-row: 2;
  }
}

/* Navigation buttons */
.container-musings .about-button,
.about-button,
.work-button,
.container-musings .musings-button,
.musings-button {
  display: inline-block;
  margin: 0;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-style: italic;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
  position: relative;
  pointer-events: auto;
}
.about-button:hover, .work-button:hover, .musings-button:hover { color: #85774B; }

.about-button::after, .work-button::after, .musings-button::after {
  content: "↗";
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 6px;
  color: currentColor;
  font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.about-button:hover::after, .work-button:hover::after, .musings-button:hover::after { opacity: 1; }

/* Fixed bottom placement for About/Work/Musings and Copyright - now handled by flexbox above */
.container-bottom .bottom-left .about-button { margin-right: 32px; }
.container-bottom .bottom-left .work-button { margin-right: 32px; }
.container-bottom .bottom-left .musings-button { margin-right: 32px; }

/* Remove horizontal margins in responsive layout */
@media (max-width: 1200px) {
  .container-bottom .bottom-left .about-button,
  .container-bottom .bottom-left .work-button,
  .container-bottom .bottom-left .musings-button {
    margin-right: 0;
  }
}
.container-bottom .bottom-right .footer-note { margin: 0; }

/* Column alignment containers - now handled by flexbox above */

.col-left { 
  display: flex; 
  flex-direction: column; 
  height: 100vh;
  position: relative;
}

/* Middle section - scrollable (includes top bar) */
.left-stack { 
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0; /* Important for flex child to shrink */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  position: relative;
}

/* Gradient overlays for smooth scroll edges - positioned on the containers themselves */
.container-topbar::after,
.container-bottom::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  pointer-events: none;
  z-index: 10;
}

/* Top gradient - at the bottom of the topbar container */
.container-topbar::after {
  bottom: -30px; /* Position below the topbar */
  background: linear-gradient(to bottom, #0002AA 0%, rgba(0, 2, 170, 0.8) 50%, transparent 100%);
}

/* Bottom gradient - at the top of the bottom container */
.container-bottom::before {
  top: -30px; /* Position above the bottom container */
  background: linear-gradient(to top, #0002AA 0%, rgba(0, 2, 170, 0.8) 50%, transparent 100%);
}

/* When content overflows, change to flex-start for proper scrolling */
.left-stack.content-overflows {
  justify-content: flex-start;
}

/* Top bar - now part of scrollable content */
.container-topbar { 
  position: relative; 
  top: 0; 
  left: 0; 
  right: 0; 
  padding: 0 0 20px 0; 
  z-index: 2; 
  flex-shrink: 0;
  width: 100%;
}

/* Custom scrollbar for webkit browsers */
.left-stack::-webkit-scrollbar {
  width: 6px;
}

.left-stack::-webkit-scrollbar-track {
  background: transparent;
}

.left-stack::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.left-stack::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Bottom section - fixed at bottom */
.container-bottom { 
  position: relative;
  flex-shrink: 0;
  display: flex; 
  justify-content: space-between; 
  align-items: flex-end; 
  padding: 0 40px 40px 40px; 
}

/* Responsive bottom layout for smaller desktop screens */
@media (max-width: 1200px) {
  .container-bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .container-bottom .bottom-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  
  .container-bottom .bottom-right {
    order: 2;
  }
}

/* Even more compact layout for very narrow desktop screens */
@media (max-width: 1000px) {
  .container-bottom {
    padding: 0 20px 40px 20px;
  }
}

.container-identity, .container-bio, .container-categories { width: 100%; }
.left-stack { row-gap: 24px; }

/* Footer note under MUSINGS */
.container-copyright .footer-note,
.footer-note {
  margin: 12px 40px 0 40px;
  color: #ffffff;
  opacity: 0.85;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Debug outlines removed */

/* CMS Integration Styles */
.social-links {
  margin-top: 20px;
}

.social-links a {
  color: #ffffff;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  margin-right: 20px;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #85774B;
}

.cat-section {
  margin-bottom: 30px;
}

.draggable-box {
  position: absolute;
  cursor: grab;
  user-select: none;
  z-index: 1000;
  left: 80vw;
  opacity: 0;
  transform: translateX(-50%) translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.draggable-box.fade-in {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.draggable-box.dragging {
  transition: none;
}

/* Ensure rotation has no easing */
.draggable-box {
  transition: opacity 0.4s ease-out;
}



.projects-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  pointer-events: none;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 40px;
  padding-bottom: 500px;
}

/* Projects scrollable area - only when directly interacting with projects */
.projects-container.projects-scrollable {
  overflow-y: auto;
  pointer-events: auto;
}

/* Enable scrolling when hovering over projects area */
.projects-container:hover {
  overflow-y: auto;
}

.projects-container::-webkit-scrollbar {
  display: none;
}

.projects-container .draggable-box {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Guyot Headline', 'Georgia', serif;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  cursor: pointer;
  background: #808080;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-clip: padding-box !important;
  background-origin: padding-box !important;
  overflow: hidden !important;
  border: 1px solid transparent !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-filter: contrast(1) brightness(1);
  filter: contrast(1) brightness(1);
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}

.projects-container .draggable-box:hover {
  transform: translateX(-50%) translateY(0) scale(1.05);
  outline: none;
}


/* Hide custom cursor on mobile */

/* Mobile Header (iPhone SE to iPad Mini) */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: transparent;
  z-index: 1000;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 20px 10px 0;
}

/* Mobile Body Content */
.mobile-body {
  display: none;
  padding: 0;
  background: #F8F3E7;
  min-height: 100vh;
  margin-top: -60px;
}

.mobile-cream-section {
  background: #F8F3E7;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.mobile-name-cream {
  font-family: 'Nautica', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: #0002AA;
  margin: 40px 0 20px 0;
  text-align: center;
  letter-spacing: 0px;
  font-feature-settings: "liga" 1, "kern" 1;
  font-variant-ligatures: common-ligatures;
  line-height: 0.8;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.mobile-blue-content {
  background: #0002AA;
  padding: 30px 0;
}

.mobile-projects-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 10px;
  padding: 0 40px;
  width: 100%;
  max-width: 100vw;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin-top: 30px;
  align-items: center;
}

.mobile-projects-scroll::-webkit-scrollbar {
  display: none;
}

.mobile-projects-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.mobile-project-item {
  flex-shrink: 0;
  width: 300px;
  height: 500px;
  overflow: hidden;
  transition: transform 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.mobile-project-item:hover {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
  .mobile-project-item:hover {
    transform: none;
  }
}

.mobile-project-item img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}

.mobile-project-title {
  background: #F8F3E7;
  color: #0002AA;
  font-family: 'Guyot Headline', 'Georgia', serif;
  font-weight: 400;
  font-size: 18px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  padding: 12px 0 0 0;
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  white-space: nowrap;
}

.mobile-project-year {
  background: #F8F3E7;
  color: #666;
  font-family: 'Guyot Headline', 'Georgia', serif;
  font-size: 12px;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  padding: 4px 0 12px 0;
  margin: 0;
  flex-shrink: 0;
  letter-spacing: normal;
}

.mobile-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20px;
  color: #0002AA;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  padding: 10px 20px 0 20px;
}

.mobile-top-bar #mobile-clock {
  opacity: 0.95;
  white-space: pre-line;
}

.mobile-top-bar .mobile-location {
  opacity: 0.95;
}

.mobile-name-header {
  font-family: 'Nautica', 'Arial', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #0002AA;
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0px;
  font-feature-settings: "liga" 1, "dlig" 1;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
}

.mobile-name {
  font-family: 'Nautica', 'Arial', sans-serif;
  font-size: 80px;
  font-weight: 500;
  color: #ffffff;
  margin: 40px 10px 40px 10px;
  text-align: center;
  letter-spacing: 0px;
  font-feature-settings: "liga" 1, "dlig" 1;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
  line-height: 0.8;
}

.mobile-tagline {
  margin-top: 20px;
  padding-top: 10px;
  color: #ffffff;
  opacity: 0.9;
  text-align: center;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  margin-left: 10px;
  margin-right: 10px;
}

.mobile-bio {
  color: #ffffff;
  opacity: 0.9;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  text-align: justify;
  text-indent: 40px;
  margin: 5px 10px 0 10px;
}

.mobile-bio a {
  color: #ffffff;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.mobile-bio a:hover {
  color: #85774B;
}

.mobile-bio a::after {
  content: "↗";
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 6px;
  color: currentColor;
  font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-bio a:hover::after {
  opacity: 1;
}

.mobile-bio a:hover,
.mobile-bio a:focus {
  padding-right: 20px;
}

.mobile-bio a:hover::after,
.mobile-bio a:focus::after {
  transform: translateX(-20px);
}

.mobile-categories {
  margin: 30px 10px 0 10px;
}

.mobile-cat {
  margin-bottom: 20px;
}

.mobile-cat-title {
  color: #ffffff;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 200;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.mobile-cat-title.no-uppercase {
  text-transform: none;
}

.mobile-cat-text {
  color: #ffffff;
  opacity: 0.9;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
}

.mobile-cat-text a {
  color: inherit;
  text-decoration: underline;
  transition: color 0.2s ease;
  position: relative;
}

.mobile-cat-text a:hover {
  color: #85774B;
}

.mobile-cat-text a::after {
  content: "↗";
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 6px;
  color: currentColor;
  font-family: system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-cat-text a:hover::after {
  opacity: 1;
}

.mobile-cat-text a:hover,
.mobile-cat-text a:focus {
  padding-right: 20px;
}

.mobile-cat-text a:hover::after,
.mobile-cat-text a:focus::after {
  transform: translateX(-20px);
}

/* Mobile Sticky Menu */
.mobile-sticky-menu {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.mobile-menu-link {
  display: inline-block;
  padding: 12px 20px;
  background: #0002AA;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-menu-link:hover {
  background: #85774B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-footer {
  text-align: center;
  padding: 20px 0;
}

.mobile-footer-note {
  color: #ffffff;
  opacity: 0.85;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mobile-nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 20px 0px 20px;
  background: #F8F3E7;
}

.mobile-nav-link {
  color: #0002AA;
  text-decoration: none;
  font-family: 'Guyot Press', 'Georgia', serif;
  font-size: 16px;
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.2s ease;
  position: relative;
}

.mobile-nav-link:hover {
  opacity: 0.5;
}

.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: #0002AA;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover span {
  opacity: 0.5;
}

/* Show mobile header only on iPhone SE to iPad Mini */
@media (max-width: 768px) {
  .mobile-header {
    display: flex;
  }
  
  .mobile-body {
    display: block;
  }
  
  .mobile-sticky-menu {
    display: block;
  }
  
  /* Hide all desktop content on mobile - will add back one by one */
  .split {
    display: none;
  }
  
  /* Hide the fixed right column (projects) on mobile */
  .col-right {
    display: none;
  }
  
  /* Hide the projects container on mobile */
  .projects-container {
    display: none;
  }
  
  /* No padding needed since mobile body handles positioning */
  body {
    padding-top: 0;
  }
}




