/* =============================================
   THE NODDING CAT — Main Stylesheet
   ============================================= */

/* --- Custom fonts (CFPanoptik family) --- */
@font-face {
  font-family: 'CFPanoptik';
  src: url('fonts/CFPanoptik-Light.woff2') format('woff2'),
    url('fonts/CFPanoptik-Light.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'CFPanoptik';
  src: url('fonts/CFPanoptik-Book.woff2') format('woff2'),
    url('fonts/CFPanoptik-Book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'CFPanoptik';
  src: url('fonts/CFPanoptik-Bold.woff2') format('woff2'),
    url('fonts/CFPanoptik-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'CFPanoptik';
  src: url('fonts/CFPanoptik-BoldOblique.woff2') format('woff2'),
    url('fonts/CFPanoptik-BoldOblique.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'CFPanoptik';
  src: url('fonts/CFPanoptik-ExtraBold.woff2') format('woff2'),
    url('fonts/CFPanoptik-ExtraBold.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

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

:root {
  --white: #ffffff;
  --black: #1a1a1a;
  --pink: #f07fb6;
  --hot-pink: #e91e8c;
  --lavender: #b893c8;
  --purple-bg: #c29fd4;
  --red: #e0395a;
  --cyan: #4fcdd4;
  --light-gray: #f5f5f5;
  --font-main: 'CFPanoptik', 'Helvetica Neue', sans-serif;
  --font-script: 'Lobster', cursive;
}

/* Base Link Reset */
a {
  text-decoration: none;
  color: inherit;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* =============================================
   PAGE SYSTEM (SPA slides)
   ============================================= */
.page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  overflow-y: auto;
}

.page.active {
  visibility: visible;
  pointer-events: all;
  z-index: 10;
}

/* =============================================
   PAGE CONTENT TRANSITIONS
   (Sliding up for everything except headers)
   ============================================= */
.landing-logo,
.cat-btn,
.about-layout,
.work-page-content-new,
.project-detail-layout,
.contact-layout {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.page.active .landing-logo,
.page.active .cat-btn,
.page.active .about-layout,
.page.active .work-page-content-new,
.page.active .project-detail-layout,
.page.active .contact-layout {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVIGATION BAR
   ============================================= */
.main-nav {
  z-index: 100;
}



.menu-toggle {
  display: none;
  /* Hidden on desktop */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
}

.nav-links li a {
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  /* Matching "Have a project in mind?" font weight */
  letter-spacing: 0.15em;
  color: var(--black);
  transition: opacity 0.2s ease, font-weight 0.2s ease;
}

.nav-links li a:hover {
  opacity: 0.7;
}

.nav-links li a.active {
  font-weight: 900;
}

/* =============================================
   SHARED HEADER / LOGO (inner pages)
   ============================================= */
.page-header {
  padding: 2.8rem 4.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* The inner-page logo: ® The Nodding Cat  PROJECTS / WITH SOUL */
.logo-small {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.logo-small:hover {
  opacity: 0.7;
}

.logo-img-sm {
  height: 4rem;
  width: auto;
  display: block;
}

/* "PROJECTS / WITH SOUL" stacked label */
.tagline {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 200;
  letter-spacing: 0.14em;
  line-height: 1.1;
  color: var(--black);
  opacity: 0.85;
  margin-left: 0.6rem;
  text-transform: uppercase;
  text-align: left;
}

/* =============================================
   LANDING PAGE
   ============================================= */
#page-landing {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- Landing page logo lockup --- */
.landing-logo {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  position: relative;
  z-index: 2;
  user-select: none;
  line-height: 1;
}

/* Left block: stacked "HOME" above "of" */
.landing-logo-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  line-height: 1;
}

/* "HOME" — CFPanoptik Bold, wide caps */
.logo-home {
  font-family: var(--font-main);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.1;
}

/* "of" — CFPanoptik Light, small italic */
.logo-of {
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 200;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--black);
  line-height: 1.2;
  align-self: flex-end;
}

/* Right block: logo image */
.landing-logo-right {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-img-main {
  height: 12rem;
  width: auto;
  display: block;
}

/* --- Cat buttons on landing --- */
.cat-btn {
  position: absolute;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cat-tr {
  top: 14%;
  right: 9%;
}

.cat-bl {
  bottom: 8%;
  left: 20%;
}

.cat-br {
  bottom: 6%;
  right: 10%;
}

.cat-img {
  width: 14rem;
  height: auto;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0.4rem 1.2rem rgba(0, 0, 0, 0.08));
}

.cat-btn:hover .cat-img {
  transform: scale(1.08) translateY(-0.6rem);
}

/* Tooltip label shown on hover */
.cat-tooltip {
  position: absolute;
  top: 3.4rem;
  left: -5.2rem;
  transform: translateX(-50%) translateY(0);
  /* Persistent Y position */
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: right;
  color: var(--black);
  opacity: 1;
  /* Always visible */
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  white-space: nowrap;
}

/* (Hover effect on tooltip removed - now persistent) */

/* =============================================
   ABOUT US PAGE
   ============================================= */
#page-about {
  display: flex;
  flex-direction: column;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  padding: 0rem 4rem;
  gap: 4rem;
  align-items: center;
  max-width: 120rem;
  width: 100%;
  margin: auto;

}

/* CSS Animation for texts */
.about-desc,
.about-superpower,
.about-work-includes,
.about-col-right {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50%);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.about-layout.is-revealed .about-desc,
.about-layout.is-revealed .about-superpower,
.about-layout.is-revealed .about-work-includes,
.about-layout.is-revealed .about-col-right {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Row 1 --- */
.about-desc {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.13em;
  color: var(--black);
  text-align: right;
  align-self: center;
  padding-right: 4rem;

}

.about-cat-top {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  align-self: start;
}

.about-col-right {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-self: end;
  padding-right: 4rem;
}

/* --- Row 2 --- */
.about-superpower {
  grid-column: 1 / span 3;
  grid-row: 2;
  font-family: var(--font-main);
  font-size: 1.8rem;
  /* Visibly larger */
  font-weight: 900;
  letter-spacing: 0.2em;
  /* Tighter/Stronger tracking */
  line-height: 1.1;
  text-align: left;
  /* Centered for stronger emphasis */
  padding: 4rem 0;
  text-transform: uppercase;
  color: var(--black);
}

/* --- Row 3 --- */
.about-work-includes {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-self: end;
  padding-right: 4rem;
}

/* "OUR WORK / INCLUDES" label — Light, caps, right-aligned */
.wk-title {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-align: right;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Service list under header — Bold, tracked */
.wk-list {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: right;
  letter-spacing: 0.1em;
}

.about-cat-bottom {
  grid-column: 2 / span 2;
  grid-row: 3;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: end;
  padding-left: 4rem;
}

/* Cat Images */
.about-cat-top img,
.about-cat-bottom img {
  height: auto;
  filter: drop-shadow(0 0.4rem 1.6rem rgba(0, 0, 0, 0.08));
  transition: transform 0.3s ease;
}

.about-cat-top img {
  width: 14rem;
}

.about-cat-bottom img {
  width: 10rem;
}

.about-cat-top:hover img,
.about-cat-bottom:hover img {
  transform: scale(1.05) translateY(-0.4rem);
}

/* CTA Box */
.about-cta-box {
  position: absolute;
  left: 13%;
  /* Shift slightly right of the differently aligned cat */
  bottom: 50%;
  background: var(--purple-bg);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.05;
  padding: 2.2rem 4.8rem 2.2rem 6.4rem;
  width: 35rem;
  text-align: left;
  opacity: 0;
  transform: translateY(50%) translateX(1rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: -1;
}

.about-layout.is-revealed-cta .about-cta-box {
  opacity: 1;
  transform: translateY(50%) translateX(0);
}

/* Right col: "We strongly believe…" bold lead + Light body */


.about-belief {
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.1em;
  color: var(--black);
}

.about-belief strong {
  font-family: var(--font-main);
  font-weight: 900;
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  line-height: 1.05;
}

/* =============================================
   OUR WORK PAGE
   ============================================= */
#page-work {
  display: flex;
  flex-direction: column;
}

/* --- Our Work Page Layout (Updated) --- */
.work-page-content-new {
  display: grid;
  grid-template-columns: 35rem 1fr;
  padding: 4rem 6rem;
  gap: 6rem;
  flex: 1;
  max-width: 170rem;
  width: 100%;
  margin: auto;
  align-items: start;
}

.work-sidebar {
  padding-top: 2rem;
  position: sticky;
  top: 10rem;
}

.services-list-new {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}

.services-list-new .service-item {
  font-size: 1.4rem;
  text-align: left;
  border-left: 2px solid transparent;
  padding-left: 1.5rem;
  transition: border-color 0.3s ease, font-weight 0.3s ease;
}

.services-list-new .service-item.selected {
  border-color: var(--pink);
}

.work-content-area {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
}

.work-cat-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.work-main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.work-services-row {
  width: 100%;
  padding: 3rem 0 2rem;
  display: flex;
  justify-content: center;
}

/* Shared styles for services list */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; /* could be aligned to the cat side for more editorial look */
  align-items: center;
  gap: 0.2rem;
}

/* Service items — CFPanoptik Light, all-caps, very wide tracking */
.service-item {
  font-family: var(--font-main);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0.2rem 0;
  cursor: pointer;
  transition: font-weight 0.15s ease;
  line-height: 1;
}

/* Selected / hovered service — ExtraBold, tighter tracking */
.service-item:hover,
.service-item.selected {
  font-weight: 900;

}

.work-cat-img {
  width: 60%;
  height: auto;
  filter: drop-shadow(0 0.4rem 1.2rem rgba(0, 0, 0, 0.08));
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  width: 100%;
}

.project-card {
  overflow: hidden;
  position: relative;
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.project-card:hover::after {
  background: rgba(0, 0, 0, 0.08);
}

.project-card img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
  text-align: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
  cursor: pointer;
}

.project-overlay h3 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(1rem);
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay h3 {
  transform: translateY(0);
}

/* =============================================
   PROJECT DETAIL PAGE
   ============================================= */
#page-project {
  display: flex;
  flex-direction: column;
}

/* Main display area */

/* --- Project Detail Page Layout (Grid) --- */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  padding: 2rem 0rem;
  align-items: end;
  flex: 1;
}

.project-services-row {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.project-lamp-col {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 2rem;
}

.project-showcase-col {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  position: relative;
}

.project-info-header {
  text-align: center;
  margin-bottom: 0.5rem;
}

#project-info-title {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

#project-info-content {
  font-family: var(--font-main);
  font-size: 1.4rem;
  color: #555;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

.project-cat-col {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  justify-content: end;
  align-items: end;

}

.lamp-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48rem;
  object-fit: contain;
}

.project-gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.project-gallery-grid::after {
  content: '';
  flex-grow: 10;
}

.project-gallery-grid img {
  height: 300px;
  /* Fixed height for row alignment */
  flex-grow: 1;
  object-fit: cover;
  border-radius: 4px;
  min-width: 200px;
  /* Prevent overly squished images */
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: block;
}

.project-gallery-grid img:hover {
  transform: scale(1.02);
}

@media (max-width: 1100px) {
  .project-gallery-grid img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .project-gallery-grid img {
    height: 150px;
  }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
#page-contact {
  display: flex;
  flex-direction: column;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.2fr 2fr;
  padding: 6rem 4rem;
  gap: 1rem;
  align-items: center;
  max-width: 140rem;
  width: 100%;
  margin: auto;

}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
}

/* "READY TO / CREATE / SOMETHING / AMAZING?" — ExtraBold, wide caps */
.contact-headline {
  font-family: var(--font-main);
  font-size: 3.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
}

.contact-phone-icon {
  grid-column: 2;
}

.contact-cat-center {
  grid-column: 3;
}

.contact-laptop-icon {
  grid-column: 4;
}

/* "So are we." — Light italic, lavender */
.contact-so-are-we {
  font-family: var(--font-main);
  font-size: 4.8rem;
  /* Enlarged */
  font-weight: 700;
  color: var(--lavender);
  letter-spacing: 0.05em;
  margin-top: -1rem;
}

.contact-prompts {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Prompts — Light, uppercase, wide tracking */
.contact-prompts p {
  font-family: var(--font-main);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

/* Vertical items alignment */
.contact-phone-icon,
.contact-laptop-icon {
  display: flex;
  justify-content: center;
  align-self: start;
}

.contact-cat-center {
  display: flex;
  justify-content: center;
  align-self: end;
}

.phone-img {
  width: 6rem;
  height: auto;
}

.contact-cat-img {
  width: 16rem;
  height: auto;
  filter: drop-shadow(0 0.4rem 1.6rem rgba(0, 0, 0, 0.08));
}

.laptop-img {
  width: 16rem;
  height: auto;
}

.contact-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3.6rem;
  padding-left: 2rem;
}

/* "Give us a call…" — Light, spaced, right-aligned */
.contact-cta-text {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-align: right;
  color: var(--black);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


/* Address / phone — Light, right-aligned */
.contact-details p {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: right;
}

.contact-details strong a {
  color: var(--black);
  text-decoration: none;
  font-weight: 900;
}

/* Email link — Bold */
.contact-details a {
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.2s ease;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.social-link svg {
  width: 2.4rem;
  height: 2.4rem;
  flex-shrink: 0;
}

.contact-details a.social-link:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 1000px) {

  /* Landing Page specific padding for mobile */
  #page-landing {
    padding: 0 4rem;
  }

  .landing-logo {
    padding: 4rem 0;
  }

  /* Logo downscaling */
  .logo-img-main {
    height: 4.5rem;
  }

  .logo-img-sm {
    height: 3rem;
  }



  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: none;
    border: none;
    padding: 1rem;
    cursor: pointer;
    position: relative;
    z-index: 101;
  }

  .menu-toggle span {
    display: block;
    width: 2.8rem;
    height: 2px;
    background-color: var(--black);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    opacity: 0;
    visibility: hidden;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 100;
  }

  .main-nav.open .nav-links {
    right: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-links li a {
    font-size: 2.4rem;
    /* Larger links on mobile menu */
    letter-spacing: 0.2rem;
  }

  /* Hamburger transformation */
  .main-nav.open .menu-toggle span:nth-child(1) {
    transform: translateY(0.8rem) rotate(45deg);
  }

  .main-nav.open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .main-nav.open .menu-toggle span:nth-child(3) {
    transform: translateY(-0.8rem) rotate(-45deg);
  }

  .logo-home {
    font-size: 1.6rem;
  }

  .logo-of {
    font-size: 1.2rem;
  }

  /* Center the top cat */
  .cat-tr {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Always show tooltips and decrease tooltip font size */
  .cat-tooltip {
    opacity: 1;
    visibility: visible;
    font-size: 1.2rem;
  }

  /* Bring top cat tooltip closer */
  .cat-tr .cat-tooltip {
    left: -3rem;
    top: 3rem;
    transform: translateX(-50%) translateY(0);
  }

  /* Bottom cats tooltip middle top */
  .cat-bl .cat-tooltip,
  .cat-br .cat-tooltip {
    top: -3rem;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    text-align: center;
  }

  .cat-img {
    width: 10rem;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 0 2.4rem 4rem;
  }

  .work-layout {
    grid-template-columns: 1fr;
  }

  .work-page-content-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12rem 2.4rem 4rem;
    /* Increased top padding */
    gap: 4rem;
  }

  .work-sidebar {
    width: 100%;
    position: static;
    padding-top: 0;
  }

  .services-list-new {
    align-items: center;
    gap: 1.6rem;
  }

  .services-list-new .service-item {
    text-align: center;
    padding-left: 0;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .services-list-new .service-item.selected {
    border-bottom-color: var(--pink);
  }

  .work-cat-side {
    display: none;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 1rem;
  }

  .project-detail-layout {
    display: flex;
    flex-direction: column;
    padding: 8rem 2rem 4rem;
    gap: 2rem;
    align-items: center;
  }

  .project-showcase-col {
    width: 100%;
    display: flex;
    justify-self: center;
    flex-direction: column;
    align-items: center;
  }

  .project-services-row {
    padding-bottom: 1rem;
  }

  .project-lamp-col,
  .project-cat-col {
    display: none;
  }

  .project-featured {
    width: 100%;
    position: relative;
  }

  .nav-arrow-new {
    position: absolute;
    right: auto;
    left: 50%;
    top: auto;
    bottom: -8rem;
    /* Positioned below the image */
    transform: translateX(-50%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .nav-arrow-new:hover {
    transform: translateX(-50%) scale(1.1);
  }

  .project-featured img {
    width: 100%;
    height: 32rem;
    /* Give it a fixed height or similar for object-fit to be effective */
    object-fit: cover;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
    text-align: center;
    align-items: center;
  }

  .contact-left {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .contact-phone-icon {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    display: flex;
  }

  .contact-laptop-icon {
    grid-column: 2;
    grid-row: 2;
    justify-content: center;
    display: flex;
  }

  .contact-cat-center {
    grid-column: 1 / span 2;
    grid-row: 3;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
  }

  .contact-info {
    grid-column: 1 / span 2;
    grid-row: 4;
    text-align: center;
    padding-left: 0;
  }

  .contact-cta-text,
  .contact-details p {
    text-align: center;
  }

  .social-links {
    align-items: center;
  }

  .contact-phone-icon img {
    width: 8rem;
  }

  .contact-cat-center img,
  .contact-laptop-icon img {
    width: 12rem;
  }

  /* Contact Page Font Adjustments (-0.1rem) */
  .contact-headline {
    font-size: 3.7rem;
  }

  .contact-so-are-we {
    font-size: 3.1rem;
  }

  .contact-prompts p,
  .contact-cta-text,
  .contact-details p {
    font-size: 1.6rem;
  }

  /* About Us Layout Mobile Stack */
  .about-layout {
    display: flex;
    flex-direction: column;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
    text-align: center;
    align-items: center;
  }

  .about-desc,
  .about-superpower,
  .about-work-includes,
  .wk-title,
  .wk-list {
    text-align: center;
    padding: 0;
  }

  .about-cat-top {
    align-self: center;
    display: flex;
    justify-content: center;
  }

  .about-work-includes {
    align-self: center;
    text-align: center;
  }

  .about-col-right {
    align-self: center;
    text-align: center;
    padding-right: 0;
  }

  .about-cat-bottom {
    align-self: flex-start;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 0 2rem;
  }

  .about-cta-box {
    position: absolute;
    left: 40%;
    bottom: 50%;
    transform: translateY(50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 25rem;
    padding: 2.4rem 1.6rem 2.4rem 4.8rem;
    font-size: 1.6rem;
    text-align: left;
    margin: 0;
    margin-left: 1rem;
    z-index: -1;
  }

  /* Show about columns on mobile/tablet since hover is not ideal */
  .about-desc,
  .about-superpower,
  .about-work-includes,
  .about-col-right {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }
}

/* --- Small Mobile Breakpoint --- */
@media (max-width: 480px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    padding-top: 10rem;
    gap: 3rem;
  }

  .about-superpower {
    font-size: 1.6rem;
  }

  .landing-logo {
    flex-direction: column;
    gap: 1.5rem;
  }

  .services-list-new .service-item {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .main-nav {
    top: 1.5rem;
    right: 1.5rem;
  }

  .nav-links li a {
    font-size: 1.1rem;
  }
}