:root {
  --black:        #080808;
  --off-black:    #111111;
  --accent:       #80FF00;
  --white:        #FFFFFF;
  --grey:         #9A9A9A;
  --grey-light:   #CCCCCC;

  /* Typography */
  --font-display: 'Caveat', cursive;           /* big name */
  --font-serif:   'Cormorant Garamond', serif; /* "Hi, I am" */
  --font-body:    'inter', sans-serif;       /* everything else */

  /* Spacing */
  --nav-height:   72px;
}
@font-face {
  font-family: 'Gohdtail';
  src: url(./Gohdtail-BF6a06cc712da48.ttf);
}
@font-face {
  font-family: 'koulen-khmer';
  src: url(./fonts/koulen-khmer-400-normal.ttf);
}
@font-face {
  font-family: 'Crush Mine';
  src: url(./Crush\ Mine.otf);
  font-weight: bold;
}
@font-face {
  font-family: 'delight';
  src: url(./delight-vf.ttf);
  /* font-weight: normal; */
}
@font-face{
  font-family: 'alliance no.1 light';
  src: url(./fonts/Degarism\ Studio\ -\ Alliance\ No.1\ Light.otf);
  /* font-weight: 300; */
}
@font-face{
  font-family: 'alliance no.2 regular';
  src: url(./fonts/Degarism\ Studio\ -\ Alliance\ No.2\ Light.otf);
  /* font-weight: 400; */
}
@font-face {
  font-family: 'Gotham-bold';
  src: url(./fonts/GOTHAM-BOLD.TTF);
}
@font-face {
  font-family: 'Gotham-book';
  src: url(./fonts/Gotham-Book.otf);
}
@font-face {
  font-family: 'Gotham-light';
  src: url(./fonts/Gotham-Light.otf);
}
@font-face {
  font-family: 'Gotham-ultra';
  src: url(./fonts/GOTHAM-ULTRA.TTF);
}
@font-face {
  font-family: 'HomepageBaukasten-Bold';
  src: url(./fonts/HomepageBaukasten-Bold.ttf);
}
@font-face {
  font-family: 'HomepageBaukasten-Book';
  src: url(./fonts/HomepageBaukasten-Book.ttf);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #e7e7e5;
  color: var(--black);
  font-family: var(--font-body);
  /* font-family: 'Helvetica Neue', Arial, sans-serif; */
 /* -webkit-font-smoothing: antialiased; */
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

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

ul {
  list-style: none;
}

  
  
/* <burger menu> */

/* <burger menu> */

.burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: #08080800;
  /* background: var(--accent); */
  cursor: pointer;
  flex-shrink: 0;
  z-index: 200;
  position: relative;
}

.burger-icon {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.burger-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--black);
  border-radius: 2px;
}

.burger-line:nth-child(1) { top: 0; }
.burger-line:nth-child(2) { top: 12px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--off-black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  overflow-y: auto;
  overflow-x: hidden;
 
}

.mobile-menu-inner {
  padding: calc(var(--nav-height) + 40px) 24px 40px;
  max-width: 600px;
}

.mobile-menu-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--grey);
  margin-bottom: 18px;
}

.mobile-menu-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 24px;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-menu-links li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(16px);
}

.mobile-link {
  display: inline-block;
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.01em;
  padding: 14px 0;
  text-decoration: none;
}

.mobile-link-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #80FF00;
  flex-shrink: 0;
}

body.menu-open { overflow: hidden; }

/* <burger menu> */
 
  
/* <burger menu> */

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.navbar {
  /* border: #06B9C6 2px solid; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px;
  background: #e7e7e5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.5s ease,
    backdrop-filter 0.5s ease;
}

.navbar.scrolled {
  background:#e7e7e5fb;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

/* ── Logo / Name ───────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
 
}

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  /* overflow: hidden; */
  background: var(--off-black);
  /* border: 1.5px solid rgba(238, 8, 8, 0.89); */
  flex-shrink: 0;
}
.nav-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* placeholder ring shown until real image is added */
.avatar-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); */
}

.nav-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--black);
  letter-spacing: 0.02em;
}

/* ── Centre Links ──────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 56px;
  flex: 2;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--black);
  letter-spacing: 0.03em;
  position: relative;
  transition: font-weight 0.15s ease, color 0.15s ease;
  /* Reserve space so bold doesn't shift layout */
  display: inline-block;
}

/* Invisible bold ghost keeps width stable on hover */
.nav-link::before {
  content: attr(data-text);
  display: block;
  font-weight: 700;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.nav-link:hover {
  font-weight: 700;
  color: var(--black);
}

/* active link — always bold */
.nav-link.active {
  font-weight: 700;
  
}

/* ── CTA Button ─────────────────────────────────────────── */
.nav-cta {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.btn-contact {
  display: inline-block;
  padding: 8px 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: #e7e7e5 ;
  letter-spacing: 0.03em;
  background: var(--black);
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color     0.25s ease,
    color            0.25s ease,
    font-weight      0.15s ease,
    transform        0.4s ease;
}

.btn-contact:hover {
  background-color: var(--black);
  border-color: var(--black);
  color: #80FF00;
  font-weight: 700;
  transform: scale(1.06);
}

/* ═══════════════════════════════════════
     WORKS HERO
  ═══════════════════════════════════════ */
  .works-hero {
    padding: 60px 80px 60px;
    max-width: 1440px;
    margin: 0 auto;
  }
 
  .works-hero-inner {
    max-width: 1440px;
    margin: 0 auto;
  }

  .works-heading {
    font-family: 'inter', sans-serif;
    font-weight: 400;
    font-size: 104px;
    line-height: 0.8;
    color: var(--color-black);
    margin: 0 0 48px;
  }
 
  .works-heading strong {
    font-weight: 700;
    font-family:'gotham-ultra', sans-serif;
  }
 
  /* Reusable sticker component — usable anywhere on the site */
  .sticker {
    display: inline-block;
    font-family: 'Crush mine', cursive;
    font-weight: 700;
    font-size: 1.05em;
    background-color: var(--black);
    color: var(--accent);
    padding: 0.05em 0.4em 0.2em;
    border-radius: 10px;
    line-height: 1;
    transform: rotate(-6deg);
    animation: stickerWiggleIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;

  }
 
  /* Load-in wiggle: pops in, overshoots the rotation a couple times, settles at -6deg */
  @keyframes stickerWiggleIn {
    0%   { transform: rotate(-6deg) scale(0.7); opacity: 0; }
    45%  { transform: rotate(8deg) scale(1.08); opacity: 1; }
    65%  { transform: rotate(-10deg) scale(1); }
    82%  { transform: rotate(2deg); }
    100% { transform: rotate(-6deg) scale(1); opacity: 1; }
  }
 
  @media (prefers-reduced-motion: reduce) {
    .sticker { animation: none; opacity: 1; }
  }
 
  .sticker:hover {
    cursor: pointer;
    animation: stickerWiggle 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }

  
  /* Filter pills */
  .filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 100px;
  }
 
  .filter-pill {
    font-family:'homepagebaukasten-book', sans-serif;
    font-size: 28px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 999px;
    border: 1.5px solid var(--black);
    background: transparent;
    color: var(--color-black);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
 
  .filter-pill:hover {
    border-color: var(--color-lime);
  }
 
  .filter-pill.active {
    font-family:'homepagebaukasten-bold', sans-serif;
    background-color: var(--black);
    /* color: #fff; */
    color: var(--accent);
    border-color: var(--black);
  }
 
  .filter-pill:focus-visible,
  .nav-link:focus-visible,
  .btn-contact:focus-visible {
    outline: 2px solid var(--color-lime);
    outline-offset: 2px;
  }
 
.reveal-line {
  display: block;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.reveal-line.in-view {
  transform: translateY(0);
  opacity: 1;
}

.reveal-card {
  display: block;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.reveal-card.in-view {
  transform: translateY(0);
  opacity: 1;
}
  /* Responsive */
  @media (max-width: 1280px) {
    .works-heading { font-size: 86px; }
    .filter-pills{
      margin-top: 70px;
    }
  }
 
  @media (max-width: 1024px) {
    
    .works-hero { padding: 50px 40px; }
    .works-heading { font-size: 70px; }
    .filter-pill { font-size: 16px; padding: 12px 22px; }
    .filter-pills{margin-top: 50px;}

  }
 
  @media (max-width: 768px) {
    .works-heading { font-size: 56px; }
    .filter-pills { gap: 12px; }
    .filter-pill { padding: 10px 18px; }
  }
 
  @media (max-width: 480px) {
    .filter-pills{margin-top: 0px;}
    .works-hero { padding: 40px 20px; }
    .works-heading { font-size: 28px; margin-bottom: 32px; }
    .filter-pill { font-size: 14px; padding: 8px 16px; }
  }
 
  @media (max-width: 375px) {
    .works-heading { font-size: 24px; }
    .filter-pills { gap: 8px; }
  }
/* ═══════════════════════════════════════
   PROJECT GRID
═══════════════════════════════════════ */
.works-grid {
  padding: 0 80px 30px;
}
 
.works-grid-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
 grid-auto-flow: dense;
}

 .project-card.reveal-card {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.project-card.reveal-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* .project-card.reveal-card.in-view:hover {
  transform: scale(1.03);
  z-index: 2;
} */

.project-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #d4d4d2;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transform: scale(1);
  transition: transform 0.35s ease;
}
 
.project-card.reveal-card:hover {
  transform: scale(1.03);
  z-index: 2;
}

 /* <second grid> */

/* Wide variant — spans 2 grid columns, same row height as its
     neighbor (stretches to match instead of using aspect-ratio 1/1). */
  .project-card--wide {
    grid-column: span 2;
    aspect-ratio: auto;
    height: 100%;
  }
 .project-card--wide img{
  height: 465px;
 }
  @media (max-width: 768px) {
    /* On 2-column layouts, "span 2" already means full row width,
       so this naturally still reads as the widest card in its row. */
    .project-card--wide { aspect-ratio: 2 / 1; height: auto; }
  }
 /* <seocnd grid> */ 

.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* card itself is the click target */

}
 
/* Video play icon — decorative overlay, lime circle + black triangle.
   Not a real <button>: the whole .project-card is the click target,
   avoiding a nested interactive control inside another one. */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color:#80ff00ec;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  pointer-events: none;
}
 
.project-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}
 
.play-icon {
  width: 50px;
  height: 50px;
  fill: var(--black);
}
 
@media (max-width: 1024px) {
  .works-grid { padding: 0 40px 30px; }
  .works-grid-inner { gap: 18px; }
 
.project-card--wide img{
  height: 300px;
}

  .play-icon {
    width: 40px;
    height: 40px;
  }
  .play-btn {
    width: 70px;
    height: 70px;
  }
}
 
@media (max-width: 768px) {
   .works-grid { padding: 0 40px 25px; }
  .works-grid-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .play-btn { width: 70px; height: 70px; }
 
  .play-icon {
    width: 40px;
    height: 40px;
  }
}
 
@media (max-width: 480px) {
  .works-grid { padding: 0 20px 20px; }
  .works-grid-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
 
  .play-btn { width: 50px; height: 50px; }
 
  .play-icon {
    width: 30px;
    height: 30px;
  }
}
 
@media (max-width: 375px) {
  .works-grid-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
 
/* ═══════════════════════════════════════
   CASE-STUDY MODAL (video projects)
   Same bottom-sheet pattern as the image panel below —
   slides up to 88vh + fades in, rounded top corners only.
═══════════════════════════════════════ */
.case-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
}
 
.case-modal-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 95vh;
  background-color: #b0b0af;
  border-radius: 24px 24px 0 0;
  padding: 48px 40px 40px;
  overflow-y: auto;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}
 
.case-modal-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 48px 40px 40px;
}

.case-modal.is-open .case-modal-sheet {
  transform: translateY(0);
  opacity: 1;
}
 
@media (prefers-reduced-motion: reduce) {
  .case-modal-sheet, .case-modal-close { transition: none; }
}
 
.case-modal-close {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background-color: var(--black);
  color:#80FF00;
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}
 .case-modal.is-open .case-modal-close {
  opacity: 1;
  transform: translateY(0);
}

.case-modal-close:focus-visible {
  outline: 2px solid var(--color-lime);
  outline-offset: 2px;
}
 
.case-modal-inner {
  max-width: 1280px;
  margin: 0 auto;
}
 
.case-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
 
.case-modal-title {
  font-family: 'Paytone One', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--color-black);
}
 
.case-modal-tag {
  flex-shrink: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 12px;
  font-weight: 600;
  background-color: var(--color-black);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
}
 
.case-modal-media-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
 
.case-modal-media-item {
  border-radius: 16px;
  overflow: hidden;
  background-color: #d9d9d9;
  aspect-ratio: 16 / 9;
}
 
.case-modal-media-item img,
.case-modal-media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
body.modal-open {
  overflow: hidden;
}
 
@media (max-width: 768px) {
  .case-modal-sheet { padding: 40px 24px 28px; border-radius: 22px 22px 0 0; }
  .case-modal-title { font-size: 19px; }
  .case-modal-media-stack { gap: 16px; }
}
 
@media (max-width: 480px) {
  .case-modal-sheet { padding: 32px 16px 20px; }
  .case-modal-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .case-modal-close { width: 32px; height: 32px; right: 16px; bottom: 16px; }
}
 
/* ═══════════════════════════════════════
   IMAGE DETAIL PANEL (image-only projects)
═══════════════════════════════════════ */
.image-panel {
  display: none; /* toggled to block/none via JS, timed around the transition */
  position: fixed;
  inset: 0;
  z-index: 100;
  
}
 
.image-panel-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 95vh;
  background-color: #dadcdb;
  border-radius: 24px 24px 0 0;
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow-y: auto;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
}
 
.image-panel.is-open .image-panel-sheet {
  transform: translateY(0);
  opacity: 1;
}
 
@media (prefers-reduced-motion: reduce) {
  .image-panel-sheet { transition: none; }
}
 
.image-panel-close {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: none;
  background-color: var(--black);
  color:#80FF00;
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 110;
}
 
.image-panel-close:focus-visible {
  outline: 2px solid var(--color-lime);
  outline-offset: 2px;
}
 
.image-panel-media {
  width: 100%;
  /* padding: 20px 20px; */
  max-width: 800px;
  max-height: 800px;
  /* aspect-ratio: 16/ 9; */
  border-radius: 16px;
  overflow: hidden;
  /* background-color: #b0b0af; */
  flex-shrink: 0;
}
 
.image-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
 
.image-panel-caption {
  width: 100%;
  max-width: 900px;
  min-height: 46px;
  border: 1.5px solid var(--color-black);
  border-radius: 8px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family:'HomepageBaukasten-Book' 
  font-size:14px;
  color: var(--color-black);
  text-align: center;
}
 
@media (max-width: 768px) {
  .image-panel-sheet { padding: 40px 24px 28px; gap: 18px; }
  .image-panel-caption { font-size: 13px; padding: 8px 14px; }
}
 
@media (max-width: 480px) {
  .image-panel-sheet { border-radius: 18px 18px 0 0; padding: 32px 16px 20px; }
  .image-panel-close { width: 32px; height: 32px; right: 16px; bottom: 16px; }
}
 
/* ═══════════════════════════════════════
   This CSS assumes 'Barlow' and 'Paytone One' are already
   loaded sitewide (per your existing font pair). 'Caveat'
   (for .sticker) is new — add it to your Google Fonts <link>
   in <head> if it's not there yet:
═══════════════════════════════════════ */

/* < second grid2> */

/* ═══════════════════════════════════════
     PDF PANEL — same bottom-sheet mechanics as the
     other two panels, but content is an embedded,
     scrollable PDF instead of image/media.
  ═══════════════════════════════════════ */
  .pdf-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
  }
 
  .pdf-panel-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92vh;
    background-color: #dcdcda;
    border-radius: 24px 24px 0 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  }
 
  .pdf-panel.is-open .pdf-panel-sheet {
    transform: translateY(0);
    opacity: 1;
  }
 
  @media (prefers-reduced-motion: reduce) {
    .pdf-panel-sheet { transition: none; }
  }
 
  .pdf-panel-close {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    background-color: var(--color-black);
    color: #fff;
    background-color: var(--black);
    font-family: 'Barlow', sans-serif;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }
 
  .pdf-panel-close:focus-visible {
    outline: 2px solid var(--color-lime);
    outline-offset: 2px;
  }
 
  .pdf-panel-frame {
    flex: 1;
    width: 100%;
    border: none;
    border-radius: 14px;
    background-color: #fff;

  }
 
  /* Shown instead of the iframe when no PDF src has been set yet */
  /* .pdf-panel-empty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: #f1f1f1;
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: #6b6b6b;
    text-align: center;
    padding: 24px;
  } */
 
  @media (max-width: 480px) {
    .pdf-panel-sheet { padding: 14px; border-radius: 18px 18px 0 0; }
    .pdf-panel-close { width: 32px; height: 32px; right: 16px; bottom: 16px; }
  }

/* <second grid2> */

.project-card--full {
  grid-column: 1 / -1;
  aspect-ratio: 3.4 / 1;
  height: auto;
  
}

@media (max-width: 768px) {
  .project-card--full { aspect-ratio: 2 / 1; }
}

@media (max-width: 480px) {
  .project-card--full { aspect-ratio: 1.6 / 1; }
}

.works-footer {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 80px 80px;
    display: flex;
    justify-content: flex-end;
  }
 
  .works-cta-btn {
    display: inline-block;
    background-color: var(--accent);
    color: var(--black);
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s ease;
  }
 
  .works-cta-btn:hover {
    transform: scale(1.05);
  }
 
  .works-cta-btn:focus-visible {
    outline: 2px solid var(--color-black);
    outline-offset: 2px;
  }
 
  @media (max-width: 1024px) {
    .works-footer { padding: 20px 40px 60px; }
  }
 
  @media (max-width: 480px) {
    .works-footer { padding: 16px 20px 50px; }
    .works-cta-btn { font-size: 13px; padding: 10px 20px; }
  }

 .footer {
    padding: 80px 60px 40px;
    /* border: #6f00ff 2px solid ; */
  }

  .divider {
    border: none;
    border-top: 1px solid #aaa;
    margin-bottom: 36px;
    max-width: 480px;
  }

  .socials {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .socials a {
    color: var(--black);
    text-decoration: none;
    font-size: 34px;
    font-weight: 400;
  }

  .copyright {
    text-align: right;
    font-size: 12px;
    color: gray;
    margin-top: -20px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }




/* <media queries > */

@media (max-width: 1440px) {

 .project-card--wide img{
  height: 420px;
}
    .footer {
      max-width: 100%;
    }

  }

@media (max-width: 1280px){

  .project-card--wide img{
  height: 360px;
}
    .footer {
      padding: 70px 48px 36px;
    }
}

@media (max-width: 1024px){
.project-card--wide img{
  height: 300px;
}
    .footer {
      padding: 64px 40px 36px;
    }
}


@media (max-width: 768px){
  .project-card--wide img{
  height: 350px;
}
    .footer {
      padding: 32px;
      margin-bottom: 100px;
    }
    .socials a {
      font-size: 28px;
    }
}


@media (max-width: 480px) {
  .project-card--wide img{
  height: 200px;
}
      .navbar {
   /* border: #06B9C6 2px solid ; */
    padding: 0 20px;
     /* padding: calc(var(--nav-height) + 24px) 20px 0; */
    justify-content: space-between;
    width: 100%;
    
  }
  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .nav-links, .nav-cta { display: none; }
  .burger-btn { display: flex; }

  .btn-contact {
    font-size: 0.78rem;
    padding: 7px 16px;
  }
  
.footer {
      padding: 44px 20px 28px;
      margin-bottom: 0px;
    }

    .divider {
      margin-bottom: 28px;
    }

    .socials a {
      font-size: 24px;
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 16px;
    }

    .copyright {
      margin-top: 0;
      text-align: left;
    }

}

@media (max-width: 375px){
   .footer {
      padding: 36px 18px 24px;
    }

    .socials a {
      font-size: 21px;
    }
}