@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&display=swap');

:root {
  --paper: #fffffb;
  --ink: #111010;
  --muted: #746e61;
  --line: #fffffb;
  --page-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "pt serif", serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.site {
  width: 100%;
  margin: 0 auto;
}

header {
  width: 100%;
  padding: 30px 0 0px;
}

.header-inner {
  width: 96%;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 80px;
}

.social-icons {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 6px;
}

.social-icons a {
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  transition: opacity .2s ease;
}

.social-icons a:hover {
  opacity: .5;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.logo-name {
  font-family: "pt serif", Georgia, serif;
  font-size: 15px;
  letter-spacing: .08em;
  font-weight: 500;
}

.logo-subtitle {
  margin-top: 2px;
  font-family: Georgia, "pt serif", serif;
  font-size: 11px;
  letter-spacing: .08em;
 color: #2395ff;
}

nav {
  display: flex;
  gap: 24px;
  font-family: "pt serif", Georgia, serif;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  
  position: relative;
  top: 8px;

}

nav a { transition: opacity .2s ease; }
nav a:hover { opacity: .5; }

.featured {
  width: 100%;
  padding: 32px 0 42px;
}

.gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #ddd7c9;
  aspect-ratio: 16 / 8;
}

.gallery-overlay-top,
.gallery-overlay-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.gallery-overlay-top {
  top: 0;
}

.gallery-overlay-bottom {
  bottom: 0;
}


.slide { display: none; width: 100%; height: 100%; }
.slide.active { display: block; }

.slide a, .slide img {
  display: block;
  width: 100%;
  height: 100%;

}

.slide img { object-fit: cover; }


.gallery-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(40,37,31,.35);
  background: rgba(238,233,221,.82);
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.gallery-button:hover { background: var(--paper); }
.gallery-button.prev { left: 16px; }
.gallery-button.next { right: 16px; }

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dot.active { background: var(--ink); }

.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 0 18px;
  text-align: center;
}

.section-heading h1 {
  margin: 0;
  font-family: "pt serif", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* New single featured project above the 2x2 grid */
.featured-project {
  display: block;
  padding: 10px 0 42px;
  width: 100%;
  margin: 5px 0 0;
}

.featured-project-title {
  margin: 0px 0 0;
  text-align: center;
  font-family: "pt serif", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.featured-project-subtitle {
  margin: -3px;
  text-align: center;
  color: #2395ff;
  font-family: Georgia, "pt serif", serif;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.featured-project a {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.featured-project-image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
}

.featured-project a:hover .featured-project-image {
  opacity: .78;
}


.bottom-links {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 22px 0 20px;
  text-align: center;
  border-top: 1px solid var(--ink);
}

.bottom-links a {
  font-family: "pt serif", Georgia, serif;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
}



.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 28px;
  padding-bottom: 70px;

}

.work-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .25s ease;
}

.work-card .placeholder {
  width: 100%;
}


.work-card:hover img { opacity: .78; }

.work-card h2 {
  margin: 12px 0 2px;
  font-family: "pt serif", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .06em;
}

.project {
  padding: 40px 0 80px;
}

.back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-family: "pt serif", Georgia, serif;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project h1 {
  margin: 0 0 8px;
  font-family: "pt serif", Georgia, serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 500;
}

.project-intro {
  max-width: 680px;
  color: var(--muted);
  margin-bottom: 40px;
}

.project-images {
  display: grid;
  gap: 28px;
}

.project-images img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  padding: 10px 0 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.about-page {
  background: #2395ff;
  color: #fff;
  min-height: 100vh;
}

.about-page header {
  background: #fffffb;
  color: #111010;
}

.about-page .header-inner {
  color: #111010;
}

.about-page .logo-name {
  color: #111010;
}

.about-page .logo-subtitle {
  color: #2395ff;
}

.about-page nav a {
  color: #111010;
}

.about-page .social-icons a {
  color: #111010;
}

.about-content {
  width: min(calc(100% - 80px), 1400px);
  margin: 0 auto;
  padding: 30px 0 100px;
}

.page-top-trim {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* INTRO */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-intro-text h1 {
  margin: 0 0 35px;

  font-family: "pt serif", Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: .02em;
}

.about-intro-text p {
  max-width: 850px;
  margin: 0 0 25px;

  font-size: 17px;
  line-height: 1.8;
}


.about-main-image {
  width: 100%;
  height: auto;
  display: block;
    position: relative;
  top: 30px;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,.7);

  font-size: 12px;
  letter-spacing: .15em;
}


/* SKILLS + EXPERIENCE */

.about-details {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 100px;

  border-top: 1px solid rgba(255,255,255,.7);

  padding-top: 35px;
  margin-bottom: 100px;
}

.about-column h2,
.about-projects h2,
.about-logos h2 {
  margin: 0 0 25px;

  font-family: "pt serif", Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-column li {
  margin-bottom: 5px;
}

.about-column h3 {
  margin: 0 0 8px;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
}

.about-column p {
  margin: 3px 0;
}


/* PROJECT LIST */

.about-projects {
  border-top: 1px solid rgba(255,255,255,.7);
  margin-bottom: 40px;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.project-list span {
  display: block;

  margin-bottom: 15px;

  font-family: "pt serif", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-list p {
  margin: 0 0 7px;
}


.about-page .about-details,
.about-page .about-projects,
.about-page .about-logos {
  border-top: none;
}

/* FOOTER */

.about-page footer {
  border-top: 1px solid rgba(255,255,255,.7);
  color: #fff;
  text-align: center;
}


/* MOBILE */

@media (max-width: 700px) {

  .about-content {
    width: min(calc(100% - 40px), 1400px);
    padding-top: 45px;
  }

  .about-intro {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-details {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .project-list {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .logo-row {
    gap: 20px;
  }

}




/* TTT CUSTOM PAGE */
.ttt-page {
  background: #000;
  color: #fff;
  min-height: 100vh;
  font-family: Georgia, "pt serif", serif;
}

.ttt-page header {
  background: #fff;
  color: #000;
  border-bottom: 0;
}

.ttt-page .header-inner {
  color: #000;
}

.ttt-page nav a:hover,
.ttt-page .logo:hover {
  opacity: .55;
}

.ttt-content {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  padding: 0 0 100px;
}

.ttt-banner {
  width: 100%;
  height: 100%;
  display: block;
  background: #171717;
  margin-bottom: 56px;
}

.ttt-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid #333;
  display: grid;
  place-items: center;
  margin-bottom: 70px;
  position: relative;
}

.ttt-video::before {
  content: "▶";
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 28px;
  padding-left: 5px;
}

.ttt-video-label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-family: "pt serif", Georgia, serif;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ttt-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.ttt-text h2 {
  font-family: "pt serif", Georgia, serif;
  font-weight: 500;
  font-size: 25px;
  letter-spacing: .06em;
  margin: 0 0 20px;
}

.ttt-text p {
  max-width: 560px;
  color: #d2d2d2;
  line-height: 1.8;
}

.ttt-side-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #171717;
}

.ttt-full-image {
  width: 100%;
  height: auto;
  display: block;
  background: #171717;
  margin-bottom: 70px;
}

.ttt-copy {
  max-width: 780px;
  margin: 0 auto 80px;
  text-align: center;
}

.ttt-copy h2 {
  font-family: "pt serif", Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 20px;
}

.ttt-copy p {
  color: #d2d2d2;
  line-height: 1.9;
}

.ttt-final-image {
  width: 100%;
  height: auto;
  display: block;
  background: #171717;
}

.ttt-page footer {
  width: min(calc(100% - 48px), 1280px);
  margin: 0 auto;
  border-top: 1px solid #333;
  color: #aaa;
}

@media (max-width: 700px) {
    .site {
    width: 100%;
  }

  .header-inner {
    width: min(calc(100% - 28px), var(--page-width));
    display: block;
  }

  nav {
    margin-top: 16px;
    gap: 16px;
    flex-wrap: wrap;
  }

  .featured { padding-top: 20px; }
  .gallery { aspect-ratio: 4 / 3; }

  .work-grid { grid-template-columns: 1fr; gap: 32px; }

  .ttt-content {
    width: min(calc(100% - 28px), 1280px);
  }

  .ttt-banner { aspect-ratio: 4 / 2; margin-bottom: 36px; }

  .ttt-two-column {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 55px;
  }

  .ttt-copy { margin-bottom: 55px; }
}
