/* =============================================
   Fonts
   ============================================= */

.ojuju-bold {
  font-family: "Ojuju", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.fragment-mono-regular {
  font-family: "Fragment Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.fragment-mono-regular-italic {
  font-family: "Fragment Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

/* =============================================
   CSS Variables
   ============================================= */
:root {
  --blue: #1696FF;
  --blue-medium: rgba(22, 150, 255, 0.5);
  --blue-light: rgba(22, 150, 255, 0.3);
  --black: #111111;
  --white: #ffffff;
  --black-light: #c8c8c8;
  --black-medium: rgba(0, 0, 0, 0.3);
  --black-medium-dark: rgba(0,0,0,0.5);
  --font-display: "Ojuju", sans-serif;
  --font-body: "Fragment Mono", monospace;
  --nav-height: 36px;
  --page-padding: 28px;
--nav-padding: 16px;
  --max-width: 720px;
  --transparent: #ffffff00;
  --page-padding-sides: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0px;
}

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


/* =============================================
   Main
   ============================================= */
.main {
  flex: 1;
  padding-top: 120px; /* clear fixed nav */
}
/*
    Content header
    */
.content {
    margin: var(--page-padding-sides);
    margin-top: 0px;
    padding-bottom:240px;
}

.about-content-heading {
    border-top: solid 1px var(--blue);
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--blue);
}

/* Outer wrapper — no side padding, columns go edge to edge */
.about-layout {
  width: 100%;
  padding-top: 40px;
}
 
/* ── Section ──────────────────────────────── */
/* Each section is a 3-col grid row */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  margin-top: 24px; /* collapse double borders between sections */
  padding-bottom: 96px;
}

 
/* ── Columns ──────────────────────────────── */
.col {
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
}
 
/* Last column in any row has no right border */
.col:last-child {
  border-right: none;
}
 
/* ── About section specifics ──────────────── */
.col--text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
 
.col--spacer {
  /* intentionally empty — middle column */
}
 
.col--photo {
  display: flex;
  align-items: flex-start;
  justify-content: right;
}
 
.about-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  border: 1px solid black;
  aspect-ratio: 1/1;
}
 
.about-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
}
 
/* ── Table sections (Credits, Experience) ─── */
/* Heading spans all 3 cols */
.about-section--table {
  grid-template-columns: 1fr; /* reset; rows handle their own grid */
  display: block; /* let rows stack */
  column-gap: 20px;
  font-size: 16px;
}
 
.col--full-heading {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1.5px solid var(--blue);
}
 
.col--full-heading .section-heading {
  grid-column: 1 / -1;
  padding: 16px 20px 12px;
  border-right: none;
}
 
/* Each data row is a 3-col grid */
.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: none;
  column-gap: 20px;
}
 
.table-row:not(:last-child) {
  border-bottom: none;
}
 
.table-row .col {
  padding: 10px 0px;
}
 
/* Year column — muted colour */
.col--year {
  color: var(--black-medium-dark);
}
 
/* REVEAL */
.reveal {
  opacity: 0;
  translate: 0 30px;
  transition: opacity 0.6s ease, translate 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  translate: 0 0;
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 640px) {

  .main{
    padding-top: 48px;
  }
.content{
  margin-left: 16px;
  margin-right: 16px;
}

  .about-section {
    grid-template-columns: 1fr;
  }
 
.about-body {
   padding: 6px 20px;
}

.about-photo{
  align-self: center;
}

  .col {
    border-right: none;
    border-bottom: 1.5px solid var(--blue);
  }
 .col--photo {
  padding-left: 6px;
  padding-right: 6px;
 }


  .col--text{
    border: none;
  }

  .col:last-child {
    border-bottom: none;
  }
 
  .col--spacer {
    height: 48px;
     border-bottom: none;
  }
 
  .col--full-heading {
    grid-template-columns: 1fr;
  }
 
  .table-row {
    grid-template-columns: 1fr;
  }
 
  .table-row .col {
    border-bottom: none;
    padding: 6px 20px;
  }
 
  .table-row .col:first-child {
    padding-top: 10px;
  }
 
  .table-row .col:last-child {
    padding-bottom: 10px;
  }
}
