/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: var(--fs-base-px);
}

html {
  scroll-behavior: smooth;
}

/* GLOBAL BODY STYLES */
body {
  background: var(--bg-color);
  max-width: 1140px;
  margin: 0 auto;
}

/* CONTAINER (reusable wrapper) */
.container {
  margin: 0 1.5rem;
}

/* GLOBAL LINK STYLE */
a {
  text-decoration: none;
  color: inherit;
}

/* DEFAULT SECTION SPACING */
section {
  border-bottom: 1px solid var(--border-light);
}

/* HEADINGS BASE */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--dark-black);
}

h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
}

h2 {
  font-size: var(--fs-xxxl);
  color: var(--mid-black);
  font-weight: var(--fw-thin);
}

.text-accent {
  font-size: inherit;
  color: var(--text-muted);
  font-weight: inherit;
}

h4 {
  font-size: var(--fs-base);
}

p {
  font-family: var(--font-body);
  color: var(--secondary-black);
  margin-top: 1rem;
  line-height: 1.6;
}

.text-container {
  padding: 0 1rem;
}

a {
  font-family: var(--font-body);
  color: var(--secondary-black);
  line-height: 1.6;
}

li {
  font-family: var(--font-body);
  color: var(--secondary-black);
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
}

.container-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
  color: var(--white);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--dark-black);
  border: none;
  border-radius: 1.125rem;
  height: 64px;
  width: 64px;
  cursor: pointer;
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-spacer {
  display: none;
}

.mobile-menu {
  display: contents;
}

.nav {
  display: flex;
  flex-direction: row;
  align-content: center;
  gap: 1.5rem;
  background: var(--dark-black);
  width: 100%;
  align-items: center;
  justify-content: end;
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: none;
}

.nav a {
  color: var(--white);
  padding: 0.75rem;
  background: transparent;
  border-radius: 1rem;
  transition: var(--transition-smooth);
}

.nav a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.logo {
  font-family: var(--font-heading);
  font-weight: var(--fw-black);
  font-size: var(--fs-md);
  background: var(--primary-color);
  border-radius: 1.125rem;
  color: var(--white);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 1.25rem;
  transition: var(--transition-smooth);
}


.resume-btn {
  display: flex;
  padding: 1rem 1.5rem;
  background: var(--dark-black);
  border-radius: 1.125rem;
  color: #fff;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  transition: var(--transition-smooth);
  box-shadow: none;
}

header.scrolled .nav-toggle,
header.scrolled .nav,
header.scrolled .logo,
header.scrolled .nav-spacer,
header.scrolled .resume-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.resume-btn span {
  padding-left: 1.25rem;
  transition: var(--transition-smooth);
}

.resume-btn img {
  transform: translateX(20px);
  margin-left: 0.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: brightness(0) invert(1);
  opacity: 0;
}

.resume-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.resume-btn:hover span {
  padding-left: 0rem;
}

.resume-btn:hover img {
  transform: translateX(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.bold {
  font-size: inherit;
  font-weight: var(--fw-semibold);
  color: var(--secondary-black);
}

.hero {
  padding: 5rem 0.5rem 6rem 0.5rem;
}

.hero-title {
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: 0rem;
  font-weight: var(--fw-semibold);
}

.hero-description {
  font-size: var(--fs-sm);
  line-height: 1.6;
  font-weight: var(--fw-light);
  margin: 0;
  margin-top: 0.25rem;
  color: var(--light-black);
  letter-spacing: 1px;
}

.hero-additional-info {
  font-size: var(--fs-xl);
  line-height: 1.6;
  margin: 2rem 0;
  font-weight: var(--fw-light);
  max-width: 85%;
  color: var(--mid-black);
}

.hero-cta {
  display: flex;
  gap: 2rem;
}

/* BUTTON BASE STYLES */
.btn-primary,
.btn-secondary {
  display: flex;
  background-color: transparent;
  padding: 0;
  border: none;
  font-family: var(--font-heading);
  font-weight: var(--fw-regular);
  width: fit-content;
  transition: var(--transition-smooth);
}

.btn-arrow {
  padding: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.btn-label {
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

/* PRIMARY BUTTON */
.btn-primary {
  color: var(--dark-black);
}

.btn-primary .btn-label {
  border-radius: 15px;
  background: linear-gradient(to left, var(--primary-color) 50%, var(--dark-black) 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  color: var(--white);
}

.btn-primary .btn-arrow {
  border-radius: 14px;
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary .btn-arrow img {
  filter: brightness(0) invert(1);
}

.btn-primary:hover {
  color: var(--primary-color);
}



.btn-primary:hover .btn-label {
  background-position: right bottom;
  border-radius: 15px 0 0 15px;
}

.btn-primary:hover .btn-arrow {
  border-radius: 0 15px 15px 0;
  transform: translateX(-5px);
}

/* SECONDARY BUTTON */
.btn-secondary {
  color: var(--dark-black);
}

.btn-secondary .btn-label {
  border: 1px solid var(--dark-black);
  border-radius: 15px;
  background: linear-gradient(to left, var(--dark-black) 50%, transparent 50%);
  background-size: 200% 100%;
  background-position: left bottom;
  color: var(--dark-black);
}

.btn-secondary .btn-arrow {
  border: 1px solid var(--dark-black);
  border-radius: 14px;
  background-color: var(--dark-black);
}

.btn-secondary:hover .btn-label {
  background-position: right bottom;
  border-radius: 15px 0 0 15px;
  color: var(--white);
}

.btn-secondary:hover .btn-arrow {
  border-radius: 0 15px 15px 0;
  transform: translateX(-5px);
  background-color: var(--dark-black);
}

.btn-secondary:hover .btn-arrow img {
  filter: brightness(0) invert(1);
}

.desktop-btn {
  display: flex;
}

.mobile-btn {
  display: none;
}

/* SOCIAL PROOF SECTION */
.social-proof {
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
  padding-bottom: 2rem;
  gap: 5rem;
  border-bottom: none;
}

.proof-text {
  display: flex;
  gap: 5rem;
}

.proof-subtext {
  align-content: center;
  /* Add custom styles for the subtext wrapper here */
}

.proof-cta {
  margin-top: 0;
}

.proof-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
}

.proof-card {
  flex: 1;
  border-radius: 1.125rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--white);
}


.proof-card h4 {
  font-size: var(--fs-base);
  color: var(--dark-black);
  margin: 0;
  font-weight: var(--fw-semibold);
}

.proof-card p {
  color: var(--light-black);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.6;
}

.proof-card-1 {
  border: 1px solid var(--border-warm);
}

.proof-card-2 {
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

.proof-card-3 {
  border: 1px solid var(--border-warm);
}

/*section - work*/
.work-section {
  display: flex;
  flex-direction: column;
  padding: 5rem 0.5rem 6rem 0.5rem;
  gap: 5rem;
}

.work-container {
  display: flex;
  flex-direction: column;
}

.mc {
  padding-bottom: 0;
  border-bottom: none;
}



.work-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}

.work-grid-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 5rem;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.work-header h3 {
  margin: 0;
  white-space: nowrap;
}

.work-connector {
  flex: 1;
  height: 1px;
  background-color: var(--border-light);
  position: relative;
}

.work-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  border: solid var(--text-muted);
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-45deg);
}

.work-desc-group {
  display: flex;
  flex-direction: column;
}

.work-cards {
  display: flex;
  flex-direction: column;
}

.project-tagline {
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  color: var(--secondary-black);
  margin: 0;
  white-space: nowrap;
}

.work-grid-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-details {
  margin: 0;
}

.work-role,
.work-impact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}




.work-role-title,
.work-impact-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.work-role h4,
.work-impact h4,
.impact-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  color: var(--secondary-black);
  margin: 0;
}

.work-role h4 {
  margin-left: 0.125rem;
}



.impact-title {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.work-role-list,
.work-impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.work-role-list li,
.work-impact-list li {
  font-family: var(--font-body);
  color: var(--secondary-black);
  font-size: var(--fs-xs);
  background-color: var(--white);
  border: 1px solid var(--border-warm);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  margin: 0;
}


.work-image-container {
  height: 100%;
}

.work-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-warm);
}

/* ABOUT SECTION */
.about-section {
  padding: 5rem 0.5rem 6rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-content {
  display: flex;
  justify-content: space-between;
  gap: 10rem;
}

.about-left {
  max-width: 50%;
}

.about-left p {
  font-size: var(--fs-base);
  margin: 0 0 1rem 0;
  line-height: 1.7;
}

.about-right {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* WORK EXPERIENCE SECTION */
.work-experience {
  display: flex;
  flex-direction: column;
}

.work-experience h4,
.skills h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  color: var(--secondary-black);
  margin-top: 0;
  margin-bottom: 1rem;
}

.work-experience-item {
  position: relative;
  padding-left: 1rem;
  padding-bottom: 2rem;
  border-left: 1px solid var(--primary-color);
}

.work-experience-item:last-child {
  padding-bottom: 0;
}

.work-experience-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.current-role::before {
  border: 4px solid #F1B3A7;
  left: -9px;
  top: 0.55rem;
}

.past-role::before {
  left: -5px;
  top: 0.75rem;
}

.work-experience-title {
  font-weight: var(--fw-semibold);
  color: var(--dark-black);
}

.work-experience-title,
.work-experience-company,
.work-experience-duration {
  margin: 0.25rem 0;
}

.work-experience-duration {
  font-size: var(--fs-xs);
}

.sub-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.sub-role-item {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.sub-role-item:last-child {
  margin-bottom: 0;
}

/* Vertical line between dots */
.sub-role-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: -0.5px;
  top: 0.55rem;
  height: calc(100% + 1rem); /* Reaches the next dot */
  width: 1px;
  background-color: var(--primary-color);
  z-index: 1;
}

.sub-role-item::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary-color);
  z-index: 2;
}

/* Adjust the dot for the current role */
.sub-role-item:first-child::before {
  border: 3px solid #F1B3A7;
  left: -7px;
  top: 0.55rem;
  width: 9px;
  height: 9px;
}

.sub-role-item .work-experience-title,
.sub-role-item .work-experience-duration {
  margin: 0;
}

.sub-role-item .work-experience-duration {
  margin: 0;
}

.work-experience-group {
  margin-bottom: 2rem;
}

.work-experience-group .work-experience-company {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: var(--fw-semibold);
  color: var(--dark-black);
}

.work-experience-location {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 12px;
}

.skills-list {
  padding-top: 0;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0;
}

.skills-list li {
  font-family: var(--font-body);
  color: var(--secondary-black);
  font-size: var(--fs-xs);
  background-color: var(--white);
  border: 1px solid var(--border-warm);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  margin: 0;
}

.connect-section {
  padding: 5rem 0.5rem 6rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.connect-cards {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.contact-card {
  flex: 1;
  border-radius: 1.125rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background-color: var(--white);
  border: 1px solid var(--border-warm);
}

.contact-card h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-regular);
  margin: 0;
}

.contact-card p {
  color: var(--light-black);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.6;
}

.connect-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.connect-item a {
  font-size: var(--fs-md);
  color: var(--dark-black);
  transition: var(--transition-smooth);
}

.connect-item a:hover {
  color: var(--primary-color);
}

.icon-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--light-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.icon-btn:hover {
  color: var(--primary-color);
}

.connect-link {
  font-size: var(--fs-md);
  color: var(--white);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.connect-link:hover {
  color: var(--primary-color);
}

.btn-small {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs) !important;
  color: var(--secondary-black);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-small-dark {
  border-color: var(--light-black);
  color: var(--border-light);
}

.btn-small-dark:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-small span {
  font-size: var(--fs-xs) !important;
}

.btn-small:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-small svg {
  width: 14px;
  height: 14px;
}

/* FOOTER SECTION */
footer {
  margin-bottom: 2rem;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-black);
  border-radius: 1.125rem;
  min-height: 64px;
  height: auto;
  padding: 1rem;
  text-align: center;
}

.footer-container p {
  color: var(--white);
  margin-top: 0;
}

/* CASE STUDY SECTION */
.case-study-main {
  max-width: 1000px;
  margin: 0 auto;
}
.case-hero {
  padding: 6rem 0.5rem 3.5rem 0.5rem;
}

.case-title {
  font-size: var(--fs-xxl);
  margin-bottom: 0.25rem;
  font-weight: var(--fw-semibold);
  letter-spacing: -0.5px;
  color: var(--dark-black);
}

.case-subtitle {
  font-size: var(--fs-lg);
  margin-top: 0.75rem;
  margin-bottom: 3.5rem;
  color: var(--secondary-black);
  font-weight: var(--fw-regular);
  letter-spacing: -0.5px;
}

.divider {
  height: 1px;
  background-color: var(--border-light);
  width: 100%;
  margin-bottom: 3.5rem;
}

.case-eyebrow {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 1rem;
  margin-top: 0;
  font-weight: var(--fw-regular);
}

.case-heading {
  font-size: var(--fs-xl);
  font-family: var(--font-heading);
  color: var(--mid-black);
  font-weight: var(--fw-thin);
  margin-bottom: 3rem;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.case-main-image {
  margin-bottom: 3rem;
  width: 100%;
}

.case-main-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 16px;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.meta-column .meta-title {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-regular);
  margin-bottom: 1rem;
}

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

.meta-column ul li {
  margin-left: 0;
  font-size: var(--fs-sm);
  margin-bottom: 0.5rem;
  color: var(--dark-black);
}

.case-content {
  padding: 3.5rem 0.5rem 0 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.case-section {
  margin-bottom: 3.5rem;
}

.case-section h3 {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
}

.case-section p {
  font-size: var(--fs-md);
  color: var(--secondary-black);
  font-weight: var(--fw-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.case-subheading {
  font-size: var(--fs-md);
  margin-top: 40px;
  margin-bottom: 1rem;
  font-weight: var(--fw-semibold);
  line-height: 1.6;
}

.case-image-wrapper {
  margin: 3rem 0;
  text-align: center;
}

.case-image-wrapper img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 16px;
}

.case-section p.case-image-caption {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.case-section ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.case-section ul li {
  font-size: var(--fs-md);
  color: var(--secondary-black);
  font-weight: var(--fw-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* CASE STUDY TABLE */
.table-container {
  overflow-x: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--border-warm);
  border-radius: 12px;
  background: var(--white);
}

.case-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.case-table th {
  background: var(--dark-black);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  font-weight: var(--fw-semibold);
  border-bottom: none;
}

.case-table td {
  padding: 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--secondary-black);
  font-weight: var(--fw-light);
  line-height: 1.6;
  border-bottom: 1px solid var(--border-warm);
  vertical-align: top;
}



.case-table tr:last-child td {
  border-bottom: none;
}

/* PRINCIPLE BOX */
.principle-box {
  background: var(--bg-color);
  padding: 2.5rem;
  border-radius: 12px;
  margin: 3rem 0;
  border-left: 4px solid var(--primary-color);
}

.case-principle {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-lg) !important;
  color: var(--dark-black) !important;
  font-weight: var(--fw-semibold) !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

.case-final-section {
  margin-bottom: 2rem;
}

/* IMPACT GRID */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.5rem;
}

.impact-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 1.125rem;
  padding: 2rem;
  gap: 2rem;
  border: 1px solid var(--border-warm);
}

.impact-heading {
  font-size: var(--fs-base);
  color: var(--dark-black);
  margin: 0;
  font-weight: var(--fw-semibold);
}

.impact-card p {
  color: var(--light-black);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.6;
}

.coming-soon-notice {
  display: inline-flex;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  background-color: var(--primary-color);
  border: 1px dashed var(--border-warm);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: var(--fw-semibold);
}

/* MORE WORK SECTION */
.more-work-section {
  padding: 6rem 0.5rem 4rem 0.5rem;
  border-bottom: none;
}

.more-work-heading {
  font-size: var(--fs-md);
  color: var(--dark-black);
  margin-bottom: 1.5rem;
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.more-work-card {
  display: flex;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: var(--transition-smooth);
  color: inherit;
  text-decoration: none;
}

.more-work-card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.more-work-content {
  padding: 3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.more-work-content h3 {
  font-size: var(--fs-xl);
  margin-bottom: 0.5rem;
}

.more-work-desc {
  font-size: var(--fs-base);
  color: var(--secondary-black);
  margin-bottom: 1rem;
  margin-top: 0;
}

.more-work-details {
  font-size: var(--fs-sm);
  color: var(--light-black);
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 0;
}

.more-work-image {
  flex: 1;
  background-color: var(--bg-color);
  border-right: 1px solid var(--border-light);
}

.more-work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RESPONSIVE LAYOUTS */

@media (max-width: 900px) {
  .social-proof {
    flex-direction: column;
    gap: 3rem;
  }

  .proof-text {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .proof-grid {
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .connect-cards {
    flex-direction: column;
  }

  .proof-card-2 {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid var(--border-warm);
    border-right: 1px solid var(--border-warm);
  }

  body {
    padding-top: 0.5rem;
  }

  h2 {
    font-size: var(--fs-xxl);
  }

  .hero {
    padding: 3.5rem 0.5rem 4rem 0.5rem;
  }

  .hero-additional-info {
    font-size: var(--fs-lg);
    max-width: 100%;
  }

  .container-nav {
    align-items: center;
    flex-wrap: wrap;
    position: relative;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .nav-spacer {
    display: block;
    flex-grow: 1;
    background: var(--dark-black);
    border-radius: 1.125rem;
    height: 64px;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    width: 100%;
    flex-direction: column;
    z-index: 1000;
  }

  .container-nav.nav-open .mobile-menu {
    display: flex;
  }

  .container-nav .nav,
  .container-nav .resume-btn {
    display: flex;
    width: 100%;
  }

  .container-nav .nav {
    background: transparent;
    border-radius: 0;
    flex-direction: column;
    padding: 0;
    gap: 0.25rem;
  }

  .container-nav .nav a {
    background: var(--dark-black);
    border-radius: 16px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 1rem;
  }

  .container-nav .resume-btn {
    margin-top: 0.25rem;
    border-radius: 16px;
    justify-content: center;
  }

  .work-section {
    padding: 3.5rem 0.5rem 4rem 0.5rem;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .work-connector {
    display: none;
  }

  .project-tagline {
    white-space: normal;
  }

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

  .work-grid-right {
    padding-left: 0;
    border-left: none;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    height: auto;
  }

  .work-image-container,
  .work-image-container img {
    height: auto;
  }

  .work-grid-left {
    gap: 1.5rem;
  }

  .desktop-btn {
    display: none;
  }

  .mobile-btn {
    display: flex;
  }

  .about-section {
    padding: 3.5rem 0.5rem;
  }

  .about-content {
    flex-direction: column;
    gap: 3rem;
  }

  .about-left,
  .about-right {
    max-width: 100%;
  }

  .connect-section {
    padding: 3.5rem 0.5rem 4rem 0.5rem;
  }

  .connect-cta-banner {
    padding: 3rem !important;
    gap: 1rem !important;
    flex-direction: column !important;
  }

  .connect-cta-banner>div {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .connect-item a {
    word-break: break-word;
    /* Prevents long emails/links from overflowing */
  }

  .hidden-mobile {
    display: none !important;
  }

  /* Case Study Responsive */
  .case-meta-grid,
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .case-heading {
    font-size: 1.75rem;
    width: 100% !important;
  }

  .more-work-card {
    flex-direction: column;
  }

  .more-work-content {
    padding: 2rem;
  }

  .more-work-image {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
}

/* TABLET SPECIFIC OVERRIDES */
@media (min-width: 600px) and (max-width: 900px) {
  .case-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-menu {
    width: 50%;
    left: auto;
    right: 0;
  }

  h2 br {
    display: none;
  }

  h2,
  .hero-title,
  .hero-description,
  .proof-text p {
    width: 75%;
  }


  .about-right {
    flex-direction: row;
    justify-content: space-between;
  }

  .about-right .work-experience,
  .about-right .skills {
    width: 48%;
  }

}

/* MOBILE SPECIFIC OVERRIDES */
@media (max-width: 599px) {
  .container {
    margin: 0 1rem;
  }
  
  .text-container {
    padding: 0;
  }
  
  .case-hero {
    padding: 3.5rem 0 3.5rem 0;
  }
  
  .case-section p.case-image-caption {
    margin-left: 0;
  }
  
  .connect-cta-banner {
    padding: 2rem !important;
  }

  .connect-item a {
    font-size: 1rem !important;
  }

  .about-right {
    gap: 3rem;
  }

  /* Table Mobile Fix */
  .case-table {
    min-width: 700px;
  }
  
  .case-table th,
  .case-table td {
    padding: 1rem;
  }
}