/* ---- global.css ---- */



/*------------ Global Styles ------------*/

/* ------------ Global Variables ------------ */
:root {
  --font-heading: "GT Walsheim Pro", sans-serif;
  --font-body: "Inter_18pt-Regular", sans-serif;

  --color-dark: #131313;
  --color-white: #ffffff;
  --color-gray: #faf9f7;
  --color-tan: #e1e0dc;

  --color-text-dark: #0a0a0a;
  --color-text-light: #ffffff;
  --color-accent: #d0ae8c;
  --color-dark-gray:#2c2c2c;
}

/* ------------ Reset & Base ------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-gray);
  position: relative;
}


/* ------------ Background Themes ------------ */
.dark  { background: var(--color-dark); color: var(--color-text-light); }
.white { background: var(--color-white); color: var(--color-text-dark); }
.gray  { background: var(--color-gray); }
.tan   { background: var(--color-tan); }



/* ------------ Typography ------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 10px;
}

p, a,li {
  font-family: var(--font-body);
  font-weight: 100;
  margin-bottom: 10px;
}

h1 { font-size: clamp(2.625rem, 1.8rem + 3.5vw, 6rem); letter-spacing: -4px; }
h2 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3.75rem); letter-spacing: -2px; }
h3 { font-size: clamp(1rem, 0.5rem + 2vw, 2rem); letter-spacing: -1px; text-transform:uppercase; }
h4 { font-size: clamp(1.5rem, 1.35rem + 0.65vw, 1.8rem); letter-spacing: -1px; }
h5 { font-size: clamp(1.125rem, 1.03rem + 0.4vw, 1.5rem); }
h6 { font-size: clamp(0.875rem, 0.81rem + 0.26vw, 1.125rem); }

p { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem); line-height: 1.6; }
p.small { font-size: 0.9rem; margin-bottom: 40px; }

li { font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem); }

/* ------------ Links ------------ */
a {
  text-decoration: none;
  font-weight: 100;
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}
a:hover    { color: var(--color-accent); }
a.current  { 
    color: var(--color-accent);
    background-color: #000;
    border-radius: 100px; }

/* ------------ Lists ------------ */
ul { list-style: none; padding: 0; }

/* ------------ Media Elements ------------ */
img, video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  overflow: hidden;
  border-radius: 12px;
}


body {
  transition: background-color 0.4s ease, color 0.4s ease;
  background-color: var(--color-white);
}

body.scrolled-past-grid {
  background-color: var(--color-dark);
  color: var(--color-text-light);
}

body.scrolled-past-grid a { color: var(--color-text-light); }
body.scrolled-past-grid a:hover h3 { color: var(--color-accent); }


/*------------ Page structure ------------*/

.container {
    max-width: 122.8rem;
    margin: 0 auto;
    padding: 0 6rem;
    position: relative;
    z-index: 2;
}
header {
    display: grid;
    grid-column-gap: 0%;
    grid-template-columns: 1fr auto;
    padding: 40px 0;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10000;
}
main {
    grid-column-start: span 12;
}
footer {
    grid-column-start: span 12;
    height: 40vh;
    border-top: 1px solid var(--color-accent);
    margin-top:100px;
}

.bg-video {
    width: 100vh;
    height: 100vh;
    position: fixed;
    z-index: 0;
}





/*------------ Header structure ------------*/

.logo {
    width: max-content;
    display: block;
}
.logo a {
    font-size: 1.5rem;
    font-weight: 100;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.dark .logo a {
    color: var(--color-text-white);
}
.category {
    margin: 0 auto;
    position: relative;
    width: max-content;
    border-radius: 100px;
    background: var(--color-dark-gray);
    padding: 10px 10px;
}
.category-line {
    display: block;
    margin-top: 5px;
}
.category-title {
    font-size: 16px;
    font-weight: 100;
    text-align: right;
    line-height: 28px;
    display: block;
    float: left;
}
.category-title a {
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    color: var(--color-text-light);
}
.category-title a.current  { 
    color: var(--color-accent);
    background-color: #000;
    border-radius: 100px; }

.white .category-title {
    color: var(--color-text-dark);
}
.dark .category-title {
    color: var(--color-text-light);
}




/*------------ Content Title ------------*/

.title {
    max-width: 100%;
    margin: 4% 0 0 0;
    padding: 20px 0 40px 0;
    border-top: 1px solid #D0AE8C;
}
.title h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
}




/*------------ Footer ------------*/

footer h2 {
    margin-top: 60px;
}
.copyright {
    float: right;
}
.spacer {
    margin-top: 4vh;
}

@media (max-width: 960px) {
    header, main, footer {
       grid-template-columns: 100%;
    }
    .credit {
       margin: 1vw auto;
       grid-column-start: 1;
       grid-column-end: 13;
    }
}




/*------------ Intro ------------*/
.intro {
  padding: 7vw 15% 0 0;
}
.intro h2 {
  font-size: clamp(2.0625rem, 0.9877rem + 4.8525vw, 18.5rem);
  line-height: 1;
  letter-spacing: -5px;
}

.brief {
  padding-right: 42%;
}



/*------------ Grid Layouts ------------*/
/* 3-column grid with 2 rows */
.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3 equal columns */
  grid-template-rows: repeat(2, auto);  /* 2 rows */
  column-gap: 20px;  /* horizontal spacing */
  row-gap: 60px;     /* vertical spacing between rows */
  max-width: 100%;
  margin: 0 auto;
}

/* Grid items */
.grid-3x2 > div {
  border-radius: 8px;
}

.box-2 {
    margin-top: 40px;
}
/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .grid-3x2 {
    grid-template-columns: 1fr; /* single column */
    row-gap: 20px; /* smaller spacing for mobile */
  }
}



/*------------ Responsive ------------*/

@media (max-width: 960px) {
  .intro {
    padding: 5% 15% 5% 0;
  }
  .brief { display: none; }

}


/* ---- project.css ---- */
/* ----------- Project Global Elements -----------  */

.hero {
    margin: 0 auto;
    width: 100%;
    padding: 9vw 0 1.5vw 0;
    text-align: left;
    display: grid;
    grid-column-gap: 4%;
    grid-template-columns: 1fr auto auto;
}

.description {
    align-content: end;
}
.hero ul {
    align-content: end;
}
.hero-image {
    text-align: center;
}

.credit {
    margin: 1vw auto;
    grid-column-start: 2;
    grid-column-end: 12;
}
.col-2 {
    display: grid;
    grid-column-gap: 1.8%;
    grid-template-columns: 49.1% 49%;

}

.credit-title {
    font-weight: 100;
    font-size: 0.9rem;
}
.left-col h2 {
    margin-bottom: 4vw;
}
.left-col ul {
    margin-bottom: 20px;
}
.right-col h5 {
    margin-bottom: 10px;
    font-weight: 500;
}
.right-col p {
    margin-bottom: 3vw;
}
.right-col ul {
    list-style-position: outside;
    margin: 0 0 0 0;
    padding: 0;
}
.right-col li {
    padding-left: 20px; /* Adjust this value for desired offset */
    position: relative; /* For positioning the custom bullet */
    font-size: clamp(1.25rem, -0.875rem + 8.333vw, 1rem);
    font-weight:100;
    padding-bottom: 12px;
    display: inline-block;
}
.right-col li::before {
  content: "•"; /* Or a custom image using background-image */
  position: absolute;
  left: 0;
  top: 0; /* Adjust vertical alignment if needed */
}


.gallery {
    display: grid;
    grid-column-gap: 1.8%;
    grid-row-gap: 2.8%;
    grid-template-columns: 49.2% 49%;
    padding: 0;
}
.gallery-1 {
    grid-column: 1;
    grid-row: 1 / 6;
}
.gallery-2 {
  grid-column: 2;
  grid-row: 1 / 3;
}
.gallery-3 {
  grid-column: 2;
  grid-row: 3 / 6;
}


.gallery-right {
    display: grid;
    grid-column-gap: 1.8%;
    grid-row-gap: 2.2%;
    grid-template-columns: 49.2% 49%;
    padding: 0;
}
.gallery-right-1 {
          grid-column: 1;
  grid-row: 1 / 3;
}
.gallery-right-2 {
  grid-column: 1;
  grid-row: 3 / 6;
}
.gallery-right-3 {
    grid-column: 2;
    grid-row: 1 / 6;
}

.resume {
    margin-top: 100px;
}
.resume-cv {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding: 2% 0;
  border-top: 1px solid var(--color-dark-gray);
}
.row-sections {
    display: grid;
    grid-gap: 2%;
    grid-column: 1 / 13;
    grid-template-columns: 5% 35% 56%;
}



@media (max-width: 960px) {
    .hero {
      grid-column-gap: 0%;
      grid-template-columns: 1fr;
    }
    .description {
      margin-bottom: 20px;
    }
    .hero ul {
      margin-bottom: 20px;
    }
    .credit {
      margin: 1vw auto;
      grid-column-start: 1;
      grid-column-end: 13;
    }
    .left-col {
        margin-bottom: 60px;
    }
}





