  /* ========================================
     RESET & BASE
     ======================================== */
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --color-bg: #FAFAFA;
    --color-text: #1A1A1A;
    --color-text-secondary: #6B6B6B;
    --color-text-tertiary: #999;
    --color-border: #E0E0E0;
    --color-border-light: #F0F0F0;
    --color-code-bg: #F5F5F5;
    --color-accent: #1A1A1A;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'EB Garamond', 'Georgia', serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', 'Consolas', monospace;
    --max-width: 1200px;
    --nav-height: 60px;
  }

  html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%; height: auto; }

  /* Keyboard accessibility */
  :focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 2px;
  }

  /* Remove default focus outline (only show for keyboard) */
  :focus:not(:focus-visible) {
    outline: none;
  }

  /* Selection color */
  ::selection {
    background: rgba(26, 26, 26, 0.12);
  }

  /* ========================================
     CODE / ID SYSTEM TYPOGRAPHY
     ======================================== */
  .id {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
  }

  .id .type {
    color: var(--color-text);
    font-weight: 500;
  }

  .id .sep {
    color: var(--color-text-tertiary);
  }

  /* ========================================
     NAVIGATION
     ======================================== */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--color-bg);
    z-index: 100;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-logo {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

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

  .nav-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--color-text);
  }

  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--color-text);
    margin: 4px 0;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Hamburger to X animation */
  .nav-toggle.open span:first-child {
    transform: rotate(45deg) translate(2px, 2px);
  }
  .nav-toggle.open span:last-child {
    transform: rotate(-45deg) translate(2px, -2px);
  }

  /* ========================================
     SECTIONS â GENERAL
     ======================================== */
  section {
    display: none;
    min-height: calc(100vh - var(--nav-height));
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 4rem;
  }

  section.active {
    display: block;
  }

  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
  }

  .section-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    color: var(--color-text-tertiary);
    margin-bottom: 2.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  /* ========================================
     HOME â SPLIT LAYOUT
     ======================================== */
  #home {
    min-height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
  }

  #home.active {
    display: block;
  }

  .hero {
    width: 100%;
    height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height);
    display: flex;
    overflow: hidden;
  }

  /* Ã¢ÂÂÃ¢ÂÂ Bulletin Board â left side Ã¢ÂÂÃ¢ÂÂ */
  .hero-bulletin {
    width: 42%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 2rem 2.5rem;
    overflow-y: auto;
    border-right: 1px solid var(--color-border-light);
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
  }

  .hero-bulletin::-webkit-scrollbar { width: 4px; }
  .hero-bulletin::-webkit-scrollbar-track { background: transparent; }
  .hero-bulletin::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 2px; }

  .bulletin-header {
    margin-bottom: 1.5rem;
  }

  .bulletin-header h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 0.3rem;
  }

  .bulletin-header p {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-text-tertiary);
    letter-spacing: 0.03em;
    font-weight: 300;
  }

  .bulletin-section-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  .bulletin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .bulletin-card {
    background: var(--color-code-bg);
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
  }

  .bulletin-card-thumb {
    flex-shrink: 0;
    width: 56px;
    background: #2a2a2a;
    overflow: hidden;
    order: 1;
    margin: 0;
  }

  .bulletin-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bulletin-card-body {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 0.75rem;
  }

  .bulletin-card:hover {
    background: var(--color-border-light);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }

  .bulletin-card-pin {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--color-text-tertiary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
  }

  .bulletin-card .card-category {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--color-text-tertiary);
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
  }

  .bulletin-card .card-title {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
  }

  .category-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    top: -0.5px;
  }

  .category-dot.cat-architecture { background: #2D7D3A; }
  .category-dot.cat-research { background: #C0392B; }
  .category-dot.cat-photography { background: #D4851F; }
  .category-dot.cat-journal { background: #2E6FAD; }

  .bulletin-card .card-meta {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--color-text-tertiary);
    letter-spacing: 0.04em;
  }

  .bulletin-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.35rem;
  }

  .bulletin-card .card-tags span {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--color-text-tertiary);
    background: rgba(0,0,0,0.04);
    padding: 0.1rem 0.35rem;
    letter-spacing: 0.03em;
  }

  .bulletin-card.span-full {
    grid-column: span 2;
  }

  .bulletin-card.span-full .bulletin-card-thumb {
    width: 80px;
  }

  /* Ã¢ÂÂÃ¢ÂÂ Sphere â right side Ã¢ÂÂÃ¢ÂÂ */
  .hero-sphere {
    flex: 1;
    position: relative;
    min-width: 0;
  }

  canvas#sphere {
    display: block;
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
  canvas#sphere:active { cursor: grabbing; }

  /* Sphere labels are rendered on canvas */
  #sphere-label { display: none; }

  /* Hide old nameplate â name now in bulletin */
  #nameplate { display: none; }

  .sphere-reset {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(26,26,26,0.15);
    background: rgba(250,250,250,0.6);
    color: rgba(26,26,26,0.4);
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    padding: 0;
  }
  .sphere-reset:hover {
    border-color: rgba(26,26,26,0.35);
    color: rgba(26,26,26,0.7);
    background: rgba(250,250,250,0.85);
  }

  /* ========================================
     INDEX â Unified Filters
     ======================================== */
  .index-filters {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
  }

  .index-filters button {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-tertiary);
    cursor: pointer;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
  }

  .index-filters button:hover,
  .index-filters button.active {
    color: var(--color-text);
  }

  .index-filters .filter-sep {
    width: 1px;
    height: 12px;
    background: var(--color-border);
  }

  /* ========================================
     WORK â Architecture Projects
     ======================================== */
  .work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
  }

  .work-item {
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .work-item:hover { opacity: 0.85; }
  .work-item:active { opacity: 0.7; }

  .work-item-image {
    aspect-ratio: 4/3;
    background: var(--color-border);
    overflow: hidden;
    margin-bottom: 0.75rem;
  }

  .work-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .work-item:hover .work-item-image img {
    transform: scale(1.02);
  }

  .work-item h3 {
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
  }

  .work-item .id { display: block; }

  .work-item.featured { grid-column: span 2; }
  .work-item.featured .work-item-image { aspect-ratio: 16/9; }

  /* ========================================
     RESEARCH
     ======================================== */
  .research-header {
    max-width: 640px;
    margin-bottom: 3rem;
  }

  .research-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .research-header p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 300;
  }

  .research-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
  }

  .research-topic {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
  }

  .research-topic .id { display: block; margin-bottom: 0.75rem; }

  .research-topic h3 {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
  }

  .research-topic p {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 300;
  }

  .research-topic .tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
  }

  .tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    padding: 0.2rem 0.5rem;
  }

  /* ========================================
     PHOTOGRAPHY
     ======================================== */
  .photo-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .photo-item {
    overflow: hidden;
    cursor: pointer;
    position: relative;
  }

  .photo-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
  }

  .photo-item:hover::after {
    background: rgba(0,0,0,0.06);
  }

  .photo-item .photo-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.75rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  }

  .photo-item:hover .photo-label { opacity: 1; }

  .photo-label .id { color: rgba(255,255,255,0.85); }
  .photo-label .id .type { color: #fff; }
  .photo-label .id .sep { color: rgba(255,255,255,0.5); }

  .photo-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
  }

  .photo-item:hover img { transform: scale(1.03); }

  .photo-item.span-8 { grid-column: span 8; }
  .photo-item.span-6 { grid-column: span 6; }
  .photo-item.span-4 { grid-column: span 4; }
  .photo-item.span-3 { grid-column: span 3; }

  /* ========================================
     JOURNAL â Blog layout
     ======================================== */
  .journal-header {
    max-width: 640px;
    margin-bottom: 2.5rem;
  }

  .journal-header p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1rem;
  }

  .journal-substack {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    padding: 0.4rem 0.85rem;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
  }
  .journal-substack:hover {
    color: var(--color-text);
    border-color: var(--color-text);
  }
  .journal-substack svg {
    width: 14px; height: 14px;
    fill: currentColor;
  }

  .journal-list { max-width: 760px; }

  .journal-entry {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .journal-entry:hover { opacity: 0.7; }
  .journal-entry:active { opacity: 0.5; }
  .journal-entry:first-child { border-top: 1px solid var(--color-border); }

  .journal-entry-top {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .journal-entry .id {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .journal-date {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-text-tertiary);
  }

  .journal-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
  }

  .journal-excerpt {
    font-size: 0.8125rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-weight: 300;
  }

  .journal-entry-tags {
    display: flex;
    gap: 0.375rem;
    margin-top: 0.6rem;
  }

  /* Journal article reading view */
  .journal-article {
    max-width: 640px;
  }

  .journal-article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  .journal-article-header .id {
    display: block;
    margin-bottom: 0.5rem;
  }

  .journal-article-header h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
  }

  .journal-article-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .journal-article-meta span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-text-tertiary);
  }

  .journal-article-body {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--color-text);
    font-weight: 400;
  }

  .journal-article-body p {
    margin-bottom: 1.25rem;
  }

  .journal-article-body blockquote {
    margin: 2rem 0;
    padding-left: 1.25rem;
    border-left: 2px solid var(--color-border);
    color: var(--color-text-secondary);
    font-style: italic;
  }

  .journal-article-footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* ========================================
     ABOUT
     ======================================== */
  .about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .about-text h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
  }

  .about-text p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1rem;
  }

  .about-text p strong {
    color: var(--color-text);
    font-weight: 400;
  }

  .about-details { margin-top: 3rem; }

  .about-detail-group { margin-bottom: 2rem; }

  .about-detail-group h4 {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--color-text-tertiary);
    margin-bottom: 0.5rem;
  }

  .about-detail-group p,
  .about-detail-group a {
    font-size: 0.875rem;
    line-height: 1.8;
    font-weight: 300;
  }

  .about-detail-group a {
    border-bottom: 1px solid var(--color-border);
    transition: border-color 0.2s ease;
  }

  .about-detail-group a:hover {
    border-color: var(--color-text);
  }

  .about-image {
    aspect-ratio: 3/4;
    background: var(--color-border);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nav-height) + 3rem);
  }

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

  .img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: linear-gradient(135deg, #E8E8E8 0%, #D4D4D4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.03em;
    /* Ready for image replacement: just add <img> inside or swap to background-image */
    overflow: hidden;
    position: relative;
  }

  .img-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* ========================================
     DETAIL PAGE
     ======================================== */
  #detail {
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
  }

  .detail-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.25rem 0;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
  }
  .detail-back:hover { color: var(--color-text); }
  .detail-back::before { content: '\2190'; font-size: 0.875rem; }

  .detail-header {
    margin-bottom: 3rem;
    max-width: 760px;
  }

  .detail-header .id {
    display: block;
    margin-bottom: 0.75rem;
  }

  .detail-header h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
  }

  .detail-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }

  .detail-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .detail-meta-label {
    font-family: var(--font-mono);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--color-text-tertiary);
    text-transform: lowercase;
  }

  .detail-meta-value {
    font-size: 0.8125rem;
    font-weight: 300;
    color: var(--color-text-secondary);
  }

  .detail-description {
    font-size: 0.9375rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--color-text-secondary);
    max-width: 640px;
  }

  .detail-description p { margin-bottom: 1rem; }

  .detail-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 3rem;
  }

  .detail-images .img-placeholder {
    aspect-ratio: 16/10;
  }

  .detail-images .img-full {
    grid-column: span 2;
  }

  .detail-tags {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }

  .detail-related {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
  }

  .detail-related .detail-meta-label {
    flex-shrink: 0;
  }

  .related-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
  }

  .related-link:hover {
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
  }

  @media (max-width: 768px) {
    .detail-header h2 { font-size: 1.5rem; }
    .detail-images { grid-template-columns: 1fr; }
    .detail-images .img-full { grid-column: span 1; }
  }

  /* ========================================
     FOOTER
     ======================================== */
  footer {
    border-top: 1px solid var(--color-border-light);
    padding: 2rem 0;
    margin-top: 4rem;
  }

  .footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-inner span {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-text-tertiary);
    font-weight: 300;
  }

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

  .footer-links a {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--color-text-secondary);
    font-weight: 300;
    transition: color 0.2s ease;
  }

  .footer-links a:hover { color: var(--color-text); }

  /* ========================================
     TRANSITIONS
     ======================================== */
  section.active {
    animation: fadeIn 0.35s ease;
  }

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

  /* ========================================
     RESPONSIVE
     ======================================== */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: var(--nav-height);
      left: 0; right: 0;
      background: var(--color-bg);
      padding: 0 2rem;
      border-bottom: 1px solid var(--color-border-light);
      gap: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-links.open {
      display: flex;
      max-height: 300px;
      padding: 1.5rem 2rem;
      gap: 1rem;
    }

    .hero {
      flex-direction: column;
      height: auto;
      min-height: calc(100vh - var(--nav-height));
      min-height: calc(100dvh - var(--nav-height));
      overflow: visible;
    }

    .hero-bulletin {
      width: 100%;
      max-width: none;
      border-right: none;
      border-bottom: 1px solid var(--color-border-light);
      padding: 1.5rem 1.5rem 1.25rem;
      overflow-y: visible;
    }

    .hero-sphere {
      height: 70vh;
      height: 70dvh;
      min-height: 360px;
      position: relative;
      overscroll-behavior: contain;
    }

    .bulletin-header h1 { font-size: 1.5rem; }

    .bulletin-grid { gap: 0.5rem; }

    .bulletin-card .card-title { font-size: 0.8rem; }
    .bulletin-card-thumb { width: 48px; }
    .bulletin-card.span-full .bulletin-card-thumb { width: 64px; }

    .work-grid { grid-template-columns: 1fr; }
    .work-item.featured { grid-column: span 1; }

    .research-topics { grid-template-columns: 1fr; }

    .photo-grid { grid-template-columns: repeat(6, 1fr); }
    .photo-item.span-8 { grid-column: span 6; }
    .photo-item.span-6 { grid-column: span 6; }
    .photo-item.span-4 { grid-column: span 3; }
    .photo-item.span-3 { grid-column: span 3; }

    .about-layout { grid-template-columns: 1fr; }

    .about-image {
      position: static;
      aspect-ratio: 16/9;
      order: -1;
    }

    .journal-entry {
      grid-template-columns: 1fr;
      gap: 0.25rem;
    }
  }

  @media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .nav-inner { padding: 0 1.25rem; }
    .footer-inner { padding: 0 1.25rem; }

    .photo-grid { grid-template-columns: 1fr 1fr; }
    .photo-item.span-8,
    .photo-item.span-6 { grid-column: span 2; }
    .photo-item.span-4,
    .photo-item.span-3 { grid-column: span 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    section.active { animation: none; }
  }

  /* ========================================
     INSTAGRAM FEED â @pocktphoto
     ======================================== */

  /* Ã¢ÂÂÃ¢ÂÂ Bulletin board strip (compact) Ã¢ÂÂÃ¢ÂÂ */
  .ig-strip {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-shrink: 0;
    min-height: 56px;
  }
  .ig-strip::-webkit-scrollbar { display: none; }

  .ig-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    overflow: hidden;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .ig-thumb:hover {
    opacity: 0.85;
    transform: scale(1.04);
  }
  .ig-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .ig-handle-link {
    color: var(--color-text-tertiary);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .ig-handle-link:hover {
    color: var(--color-text-secondary);
  }

  /* Ã¢ÂÂÃ¢ÂÂ Photography section (larger grid) Ã¢ÂÂÃ¢ÂÂ */
  .ig-photo-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border-light);
  }

  .ig-photo-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .ig-photo-handle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .ig-photo-handle:hover {
    color: var(--color-text-secondary);
  }

  .ig-photo-sub {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
  }

  .ig-photo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
  }

  .ig-photo-card {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    transition: opacity 0.2s ease;
  }
  .ig-photo-card:hover {
    opacity: 0.9;
  }

  .ig-photo-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-code-bg);
  }
  .ig-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .ig-photo-meta {
    padding: 0.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .ig-photo-date {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-tertiary);
  }

  .ig-photo-caption {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    line-height: 1.3;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Ã¢ÂÂÃ¢ÂÂ Responsive Ã¢ÂÂÃ¢ÂÂ */
  @media (max-width: 768px) {
    .ig-strip {
      gap: 0.35rem;
    }
    .ig-thumb {
      width: 48px;
      height: 48px;
    }
    .ig-photo-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 480px) {
    .ig-photo-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .ig-thumb {
      width: 42px;
      height: 42px;
    }
  }

  /* ========================================
     IMAGE PROTECTION
     ======================================== */
  img,
  .project-card-image,
  .gallery-image,
  [class*="image"],
  [class*="photo"] {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
  }



/* === Sphere scroll-to-top arrow (mobile) === */
.sphere-scroll-top {
  display: none;
}
@media (max-width: 768px) {
  .hero-sphere {
    position: relative;
  }
  .sphere-scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(26,26,26,0.25);
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(26,26,26,0.7);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 100;
    padding: 0;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease, color 0.2s ease;
    font-family: 'IBM Plex Mono', monospace;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  }
  .sphere-scroll-top:hover,
  .sphere-scroll-top:active {
    background: rgba(26,26,26,0.1);
    color: rgba(26,26,26,0.9);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  }
}
