/* style.css */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  background: white;
  color: black;
}

.container {
  display: flex; /* Sections side by side horizontally */
  height: 100vh; /* Full viewport height */
  overflow: hidden; /* Prevent main page scrolling */
}

.scroll-section {
  flex: 1; /* Each section takes equal width */
  height: 100%;
  overflow-y: auto; /* Enable independent vertical scroll */
  padding: 24px;
  box-sizing: border-box;
  border-left: 1px solid #ccc; /* Optional visual separation */
}

#section1 { background-color: white; }
#section2 { background-color: white; }
#section3 { background-color: white; }

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.scroll-section {
  height: 100vh;      /* FULL screen height */
  overflow-y: auto;
  flex: 1;            /* Equal column widths */
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

h1 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.7;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: black;
  font-size: 14px;
}

.work a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.work a:hover {
  opacity: 0.7;
}

.pdf-thumb {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  max-width: 260px;
}

.pdf-thumb img {
  width: 100%;
  display: block;
  border: 1px solid #ccc;
}

.pdf-thumb span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.pdf-thumb:hover img {
  opacity: 0.85;
}


@media (max-width: 768px) {
  .container {
    flex-direction: column;   /* Stack sections vertically */
    height: auto;             /* Let page scroll normally */
  }

  .scroll-section {
    height: auto;             /* Section height fits content */
    min-height: 100vh;        /* Each section still fills screen */
    overflow-y: visible;      /* Disable inner scroll */
  }
}
@media (max-width: 768px) {
  .scroll-section {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
}


/* ===============================
   Typography
   =============================== */

:root {
  --font-main: "Inter", Helvetica, Arial, sans-serif;
  --font-size-body: 15px;
  --line-height-body: 1.55;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: #000;
}

h1,
h2 {
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 18px;
}

h2 {
  font-size: 14px;
  margin-top: 2rem;
}

p {
  max-width: 36ch;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  opacity: 0.6;
}
