/* ========== GLOBAL RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent page scroll – columns scroll instead */
    background: #ffffff;
    font-family: "Courier New", Courier, monospace; /* Font D1 */
    color: #111;
    line-height: 1.4;
}

/* ========== GRID LAYOUT ========== */

#grid-container {
    display: grid;
    height: 100vh;
    width: 100vw;
    grid-template-columns: 1fr 2fr 1fr; /* B layout: 25% / 50% / 25% */
    border-left: 0px solid #ffffff;
    border-right: 0px solid #ffffff;
}

.column {
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox remove scrollbar */
    -ms-overflow-style: none; /* IE/Edge remove scrollbar */
    position: relative;
}

/* Hide scrollbars (Chrome) */
.column::-webkit-scrollbar {
    display: none;
}

/* Divider lines between columns */
.left-column,
.center-column,
.right-column {
    border-left: 0.05px solid #d2d2d2;  
    border-right: 0.05px solid #d2d2d2; 
}

/* ========== CONTENT SPACING ========== */

.inner {
    padding: 40px 30px;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 20px;
}

.section-block {
    margin-top: 0px;
    margin-bottom: 30px;
}

.project-desc {
  text-align: left;
  column-count: 2;
  margin-bottom: 15px
}

h2, h3 {
    font-weight: normal;
    margin-bottom: 12px;
    color: #000000;
    font-size: 11px;
}

h1 {

  font-weight: normal;
  line-height: 1.2em;
  font-family: var(--font-sans);
  color: var(--theme);
}

p, li {
    font-size: 11px;
    margin-bottom: 10px;
}

hr {
    color: #d2d2d2
}

.center-text {
  text-align: center;
}

/* ========== NAV LINKS ========== */

nav {
  margin-bottom: 4em;
  display: flex;
  justify-content: space-between;
  gap: 2em;
}

nav a {
  text-decoration: none;
  font-family: var(--font-sans);
}


/* .nav-links {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
} */

a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    text-decoration-line: underline; 
    text-decoration-color: #636363
}

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--theme);
  color: var(--theme);
}

article a {
  text-decoration: underline;
  color: var(--color);
  text-decoration-color: var(--theme);
}



/* ========== CONTACT LINKS ========== */

.contact-links {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
}

/* ========== PROJECT IMAGE BLOCKS (T2 style) ========== */


.project img {
    width: 100%;
    height: auto;
    border: 1px solid #ffffff;
    display: block;
    margin-bottom: 12px;
}

/* ========== WRITING LIST ========== */

.writing-list {
    list-style: none;
}

.writing-list li {
    margin-bottom: 8px;
}

/* COLUMNS */


.projects {
column-count: 2;
}
                       

/* ========== RESPONSIVE ========== */

@media (max-width: 900px) {
    #grid-container {
        grid-template-columns: 1fr; /* Collapse to single column on mobile */
    }

    .column {
        height: auto;
        overflow-y: visible;
        border: none;
    }

    body {
        overflow-y: auto;
    }
}
