:root {
  font-size: 16px;
  --color-text: #a45d00;
  --color-bg: rgb(234 234 234);
  --color-link: #b7925b;
  --color-link-hover: #d8bf9c !important;
  --color-title: #000000;
  --page-padding: 2rem;
  --gradient-1: #ffffff5b;
  --gradient-2: #ffffff5b;
}

body {


    margin: unset;

  font-family: "capitana", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100vw;
  overflow-x: hidden;
  background-image: url(./img/noise.png), radial-gradient(ellipse at top, var(--gradient-1), transparent), radial-gradient(ellipse at bottom, var(--gradient-2), transparent);
  background-size: 180px, 100%, 200%;
  background-attachment: fixed;
}

.onlyonly {
  position: fixed;
  margin: 10px;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  z-index: 6000;
  grid-template-columns: 100%;
  grid-template-areas: 'title' 'wrap' 'sponsor';
  justify-items: start;
  align-items: start;



}

.font-capp {
  text-transform: uppercase;
  font-size: 10px;
}

.onlyonly__title {
  grid-area: title;
  font-size: inherit;
  margin: 0;
  font-weight: 400;
  padding: 5px 0;
}

.onlyonly-wrap {
  max-width: 32rem;
  grid-area: wrap;
  justify-self: start;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  padding: 9px 13px;
  border-radius: 2rem;
  background: #000;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-self: start;
}

.onlyonly-wrap a, .tags a {
  pointer-events:auto;
  color: var(--color-link) !important;
  font-weight:400;
 
 


      text-decoration: none;

    outline: none;
    cursor: pointer;
}
.onlyonly-wrap a:hover {
  color: var(--color-link-hover) !important;
  outline: none;
}


@media screen and (min-width: 53em) {
  .onlyonly {
    grid-template-columns: 25% 50% 25%;
    grid-template-areas: 'title wrap sponsor';
  }
  .onlyonly-wrap {
    justify-self: center;
  }
  .onlyonly #cdawrap {
    max-width: 300px;
    text-align: right;
    justify-self: end;
  }
  .card-wrap {
    grid-auto-flow: column;
  }
  .content--sides {
    grid-template-columns: 40% 1fr;
    grid-template-areas: 'img content';
  }
  .content--lines .content__title {
    white-space: nowrap;
    flex-wrap: nowrap;
  }
  .content--grid {
    height: 160vh;
  }

    .content--grid .content__img {
    height: 100%;
  }

}
/* Parent wrap for WORK */
.nav-item {
  position: relative;
  display: inline-block;
    justify-content: center;
}

/* Royal floating dropdown */
.dropdown {
  position: absolute;
  top: 140%;
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #000;
  border-radius: 12px;
  padding: 0.7rem 0.5rem;
  min-width: 170px;
  opacity: 0;
  pointer-events: none; /* not hoverable when hidden */
  transition: 0.3s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 5000;
}

/* Links inside dropdown */
.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
  transition: 0.25s ease;
}


/* Hover on WORKS text only triggers dropdown */
.nav-item > a:hover + .dropdown,
.nav-item:hover > .dropdown {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto; /* becomes interactive only after showing */
}



/* Hover effect for dropdown links */
.dropdown a:hover {
  color: var(--color-link-hover) !important;
  opacity: 1;
  transform: scale(1.03);
}


body {
  font-size: 12px !important;
  font-family: "capitana", serif !important;
}

.font-capp {
  font-size: 12px !important;
    font-family: "capitana", serif !important;
        align-items: center;
        padding: 10px 20px;
}

nav a, .navbar a {
  font-size: 12px !important;
  font-family: "capitana", serif !important;
  text-decoration: none !important;
  color: var(--color-link-hover) !important;
}

/*
HAMBURGER STYLE MENU
*/

/* ---------- Hamburger structure ---------- */
.hamburger {
  display: none;                  /* visible on small viewports only */
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 7000;
    position: fixed;
  top: 16px;
  left: 16px;
  cursor: pointer;
}



.hamburger__box {
  width: 28px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger__inner {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-link);
  transform: translateY(-50%);
  transition: transform 0.25s ease, background 0.25s ease;
}

  .mobile-panel {
    display: none;

  }


/* top & bottom pseudo lines */
.hamburger__inner::before,
.hamburger__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-link);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger__inner::before { transform: translateY(-8px); }
.hamburger__inner::after  { transform: translateY(8px); }

/* transform to X when open */
/* Transform hamburger lines into X when .hamburger has 'open' */
.hamburger.open .hamburger__inner {
  background: transparent !important;
}
.hamburger.open .hamburger__inner::before {
  transform: rotate(45deg);
  top: 0;
}
.hamburger.open .hamburger__inner::after {
  transform: rotate(-45deg);
  top: 0;
}
/* Hide hamburger cleanly on desktop */
@media (min-width: 769px) {
  .hamburger { display: none !important; }
  .mobile-panel { display: none !important; }
}

/* ---------- mobile responsive layout ---------- */
/* on small screens, hide inline links and show hamburger */
@media (max-width: 768px) {

  /* hide the inline links that normally show */
  .onlyonly-wrap a,
  .tags {
    display: none !important;
  }

  /* show hamburger */
  .hamburger {
    display: block !important;
    position: fixed;
    top: 30px;
    left: 10px;
    z-index: 8000;
  }

  /* mobile panel (full width dropdown) */
  .mobile-panel {
    display: none;             /* show only when open */
    position: fixed;
    top: 60px;                 /* adjust to header height */
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--color-border);
    z-index: 6500;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  }

  /* when we add `open` to .onlyonly-wrap show mobile panel */
  .onlyonly-wrap.open + .mobile-panel,
  .mobile-panel.open {
    display: block;
  }

  /* mobile links styling */
  .mobile-panel a {
    display: block;
    padding: 0.85rem 0;
    color: var(--color-link);
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
  }
.onlyonly {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 8px 12px;
  }

  .onlyonly-wrap {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
}

  .onlyonly__title {
    font-size: 16px !important;
    margin-left: 55px; 
    /* space for hamburger icon */
    order: 2; /* sits AFTER button */
    align-self: center;
    color: #a45d00 !important;
  }

  .mobile-panel a:hover {
    color: var(--color-link-hover) !important;
  }
}


@media screen and (max-width: 1024px) and (min-width: 769px) {
  .onlyonly {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }

  .onlyonly__title {
    font-size: 16px !important;
    margin: 0;
  }

  .onlyonly-wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 1rem;
    background: #000;
    padding: 5px 10px;
    border-radius: 2rem;
    max-width: 60%;
  }

  .tags {
    gap: 0.8rem;
  }

  .nav-item {
    display: flex;
    align-items: center;
  }

  .dropdown {
    top: 120%;
  }

  .onlyonly-wrap a {
    font-size: 12px;
  }
}

@media (max-width: 888px) and (min-width: 769px) {
  nav a, .navbar a, .onlyonly-wrap a {
    font-size: clamp(8px, 1.8vw, 10px) !important;
    white-space: nowrap !important;
  }

  .onlyonly-wrap {
    flex-wrap: nowrap !important;
    overflow-x: auto; /* optional if it still gets tight */
  }
}