/* GENERAL STYLING */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --char-count: 0;
    --typingSpeed: 4000;
    --profileDimension: 420px;
    --shadow040: 0px 8px 20px rgba(0, 0, 0, 0.04);
    --shadow042: 0px 4px 20px rgba(0, 0, 0, 0.04);
    --sanJoseBlue: #0055A2;
    --sanJoseYellow: #E5A823;
    --pageBackground: #F5F5F0; /* about.html only */
    --backgroundColor: #ffffff;
    --fontColorBlack000: #000000;
    --fontColorGray085: rgb(85, 85, 85);
    --fontColorGray181: rgb(181, 181, 181);
    --fontColorLGray: #f0f0f0;
    --stanfordCardinal: #8C1515;
    --nav-h: 72px;                   /* header height before collapse */
    --island-top: 16px;              /* distance from top when collapsed */
    --island-radius: 999px;
    --island-bg: rgba(255,255,255,.85);
    --island-border: rgba(120,120,128,.16);
    --island-shadow: 0 4px 20px rgba(0,0,0,.08);
}

* {
    margin: 0;
    padding: 0;
}

html, body,
button, input, textarea, select {
    font-family: "DM Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-pad, var(--nav-h, 72px));
    background-color: var(--backgroundColor);
}

body {
    background-color: var(--backgroundColor);
}

/* TRANSITION */

a,
.btn {
    transition: all 300ms ease;
}

a {
    text-decoration: none;
}

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

a:visited * {
    color: inherit;
}

.container {
    margin: auto;
    display: block;
    align-content: center;
}

/* DESKTOP NAV */

nav {
    display: flex;
    /*position: fixed;
    z-index: 9999;*/
    justify-content: space-between;
    margin-right: auto;
    margin-left: auto;
    align-items: center;
    height: 16vh;
    background-color: var(--backgroundColor);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.2rem;
}

#desktop-nav a {
    color: var(--fontColorBlack000);
    text-decoration: none;
    text-decoration-color: white;
}

#desktop-nav a:hover {
    color: var(--fontColorGray181);
    text-decoration-color: var(--fontColorGray181);
}

/* layout for the list in both states */
#desktop-nav .nav-links{
  display:flex;
  gap: clamp(16px, 3vw, 28px);
  list-style:none;
  margin:0; padding:0;
}

/* smooth avatar/name transitions */
#desktop-nav .logo img{
  width: 2rem; height: 2rem; border-radius: 50%;
  transition: width .35s ease, height .35s ease, margin .35s ease, opacity .25s ease;
}
#desktop-nav .logo a{
  transition: opacity .25s ease, width .25s ease, margin .25s ease;
  white-space: nowrap;
}

/* collapsed island */
#desktop-nav.island{
  position: fixed;                 /* pin to viewport */
  top: max(16px, env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  transform: translateX(-50%);

  height: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--island-bg);
  border: 1px solid var(--island-border);
  box-shadow: var(--island-shadow);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);

  justify-content: center;         /* center avatar + links */
  gap: 14px;
  width: max-content;              /* shrink-wrap contents */
}

/* keep avatar, hide the text label */
#desktop-nav.island .logo a{
  opacity: 0; width: 0; margin: 0;
  pointer-events: none;
}

#desktop-nav.island .logo span{
  opacity: 0;
  max-width: 0;
  margin: 0;
  pointer-events: none;
}

#desktop-nav.island .logo img{
  width: 28px; height: 28px;           /* smaller avatar in island */
}
#desktop-nav.island .nav-links{ gap: clamp(12px, 2.2vw, 20px); }

/* When inside island-wrapper, nav stays in flex flow (no position:fixed) */
.island-wrapper #desktop-nav.island {
  position: static;
  left: auto;
  transform: none;
}

/* Island wrapper: back bubble + nav, with 0.5rem gap */
.island-wrapper {
  position: fixed;
  top: max(var(--island-top), env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 9998;
}

/* Back arrow bubble beside nav island (case study pages) - same size as island */
.back-island-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--island-bg);
  border: 1px solid var(--island-border);
  box-shadow: var(--island-shadow);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  color: var(--fontColorBlack000);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.2s ease;
}
.back-island-bubble.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.back-island-bubble:hover {
  color: var(--fontColorGray181);
  transform: translateX(-2px);
}
.back-island-bubble .material-symbols-rounded {
  font-size: 24px;
}

/* make anchor jumps account for fixed header */
html{ scroll-padding-top: var(--nav-h); }

.logo {
    font-size: 1.2rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo:hover {
    cursor: pointer;
}

.logo img {
    height: 2rem;
}

/* HAMBURGER MENU */

#hamburger-nav {
    display: none;
    background-color: var(--backgroundColor);
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    background-color: var(--backgroundColor);
    top: 100%;
    right: 0;
    width: 300px;
    margin-top: 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.menu-socials {
    margin: 16px 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.menu-socials a {
    color: var(--fontColorBlack000);
    font-size: 1.6rem;
    transition: all 300ms ease-in;
}

.menu-socials a:hover {
    transform: scale(1.1);
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none;
}

/* BACK TO TOP BUTTON */
#backToTheTop {
    position: fixed;
    bottom: 4rem;
    right: 4rem;
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--island-bg, rgba(255,255,255,.85));
    border: 1px solid var(--island-border, rgba(120,120,128,.16));
    box-shadow: var(--island-shadow, 0 10px 30px rgba(0,0,0,.12));
    backdrop-filter: saturate(160%) blur(10px);
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: opacity 300ms ease;
}

#backToTheTop:hover {
    scale: 1.1;
}

.back-to-top span {
    font-size: 2rem;
}

/* SECTIONS */

section {
    box-sizing: border-box;
    min-height: fit-content;
}

/* PROFILE */

#profile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 2rem 0 4rem;
}

.profile-layout {
    width: 100%;
    flex: 1;
    gap: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.profile-intro {
    align-self: flex-start;
}

.profile-avatar {
    margin-bottom: 1rem;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-name {
    font-family: "DM Sans", sans-serif;
    font-size: 3rem;
    font-weight: 500;
    width: 64%;
    color: var(--fontColorBlack000);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.profile-affiliations {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.affiliation-current {
    color: #4D4F53;
}

.affiliation-previous {
    color: #9e9e9e;
}

.scroll-hint-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-self: flex-start;
    width: 100%;
    margin-top: 0.5rem;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--fontColorBlack000);
    transition: opacity 0.2s ease;
    animation: levitate 2.5s ease-in-out infinite;
}

.scroll-hint:hover {
    opacity: 0.7;
}

.scroll-hint-arrow {
    font-size: 1.5rem;
    color: var(--fontColorBlack000);
}

.scroll-hint-divider {
    width: 100%;
    border: none;
    border-top: 1px solid var(--fontColorLGray);
    margin: 0;
}

.profile-experience {
    align-self: flex-end;
    margin-top: auto;
}

.experience-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: "DM Sans", sans-serif;
    font-size: 0.9rem;
    color: var(--fontColorGray085);
    max-width: 520px;
}

.experience-row {
    display: grid;
    grid-template-columns: 3.5rem 1fr 1fr;
    gap: 1.5rem 2rem;
    align-items: baseline;
}

.experience-row .exp-year {
    font-weight: 500;
    color: var(--fontColorGray085);
}

.experience-row .exp-company {
    font-weight: 500;
    color: var(--fontColorBlack000);
}

.experience-row .exp-role {
    color: var(--fontColorGray181);
}

.profile-text {
    width: 80%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.trial-avatar {
    display: flex;
    align-items: flex-start;
}

.trial-avatar img{
    object-fit: cover;
    width: 10%;
}

.trial-avatar:hover img{
    translate: 0 -4px;
    transform: scale(1.1) rotate(8deg); 
}

.hover-text {
    background-color: var(--fontColorLGray);
    padding: 0.4rem 0.8rem;
    border-radius: 99px 99px 99px 4px;
}

.profile-img {
    width: 80px;
    object-fit: cover;
    background-color: var(--fontColorLGray);
    opacity: 0;
    transform: translateY(6rem);
    animation: fadeInUp 2s ease 1s forwards;
}

.profile-img img {
    width: 100%;
    object-fit: cover;
}

.work-ex-logo {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0.8rem;
    border-radius: 0.8rem;
    transform: translate3d(0,0,0) rotate(0deg);
    border: white 0.16rem solid;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.05);
}

.work-ex-logo img {
    width: 100%;
    object-fit: cover;
}

.work-ex-logo:hover {
    cursor: pointer;
    opacity: 50%;
    translate: 0 -4px;
    transform: scale(1.08) rotate(8deg); 
}



.section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    width: 100%;
}

.section-title-name {
    font-family: "DM Sans", sans-serif;
    font-size: 3rem;
    font-weight: 500;
    color: var(--fontColorBlack000);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-title-tagline {
    font-family: "DM Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--fontColorGray085);
    margin: 0;
    line-height: 1.6;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.section-title-currently,
.section-title-previously {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: "DM Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--fontColorGray181);
    margin-top: 0.25rem;
}

.section-title-currently span,
.section-title-previously span {
    color: var(--fontColorGray181);
}

.section-title-previously .company-logo {
    height: 1.2rem;
    width: auto;
    margin-left: 0.25rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.section-title-previously .company-logo:hover {
    opacity: 1;
}

.section-title-previously .company-name {
    color: var(--fontColorBlack000);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.section-title-previously .company-name:hover {
    opacity: 0.7;
}

.section-title-previously .separator {
    color: var(--fontColorGray181);
}

.section-title-previously a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}



.highlighted {
    padding: 0 0.4rem;
    background-color: var(--fontColorLGray);
}

.work-ex {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(6rem);
    animation: fadeInUp 2s ease 2s forwards;
}

.view-work {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    color: var(--fontColorGray085);
    opacity: 0;
    transform: translateY(3rem);
    animation:
        fadeInUp 2s ease 3s forwards,
        moveUpDown 2s ease-in-out infinite alternate;
}

.current_work, .previous_work {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.current_work .position {
    color: var(--sanJoseBlue);
}

.current_work a {
    color: var(--sanJoseYellow);
    text-decoration: underline;
    text-decoration-color: var(--sanJoseYellow);
    text-underline-offset: 0.5rem;
    transition: all 300ms ease;
}

.previous_work a{
    color: rgb(85, 85, 85);
    text-decoration: underline;
    text-decoration-color: rgb(85, 85, 85);
    text-underline-offset: 0.5rem;
    transition: all 300ms ease;
}

.current_work span a:hover {
    transform: scale(1.1);
}

.previous_work span a:hover {
    transform: scale(1.1);
}

.work-text {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeInUp 2s ease 2s forwards;
}

#content-switcher {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 60vh;
}

.switch-tabs {
    display: flex;
    gap: 4rem;
}

.tab, .active-tab {
    border: none;
    background-color: transparent;
    font-size: 1rem;
}

.tab {
    color: var(--fontColorGray181);
    font-weight: 400;
    cursor: pointer;
}

.tab.active {
    font-weight: 600;
    color: var(--fontColorBlack000);
}

.content, .content.active {
    font-size: 3rem;
    font-weight: 600;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

/* ICONS */

.icon {
    cursor: pointer;
    height: 1.5rem;
    transition: all 300ms ease;
}

.icon:hover {
    transform: scale(1.1);
}

.material-symbols-rounded {
    font-variation-settings:
    'FILL' 1,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48;
    transition: transform 0.3s ease-in-out;
}

#work {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding-bottom: 100px;
    gap: 4rem;
}

.case-study-row {
    display: flex;
    gap: 4rem;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.landing-case-study-new { 
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    border-radius: 2rem;
    background: white;
    position: relative;
    min-width: 0;
}

.live-badge {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    padding-left: 22px;
    background: var(--island-bg);
    border: 1px solid var(--island-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a1a1a;
    pointer-events: none;
    overflow: hidden;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #1a1a1a;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-shrink: 0;
}

.live-badge::after {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #1a1a1a;
    border-radius: 50%;
    opacity: 0.35;
    animation: blink 1.5s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes blink {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.35;
    }
    50% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.landing-case-study-new:hover {
    cursor: pointer;
    scale: 0.98;
    transition: all 300ms ease;
    background-color: rgba(0, 124, 146, 0.04);
    padding: 2rem;
}

.landing-case-study-new:hover .live-badge {
    top: 2.4rem;
    right: 2.4rem;
}

.landing-case-study-new.myhealth-design-system:hover {
    background-color: rgba(0, 155, 118, 0.08);
}

.landing-case-study-new.nextgen-mobility:hover {
    background-color: rgba(0, 51, 102, 0.04);
}

body.coming-soon-cursor-active .landing-case-study-new.nextgen-mobility,
body.coming-soon-cursor-active .landing-case-study-new.nextgen-mobility *,
body.coming-soon-cursor-active .landing-case-study-new.acme-fraud-detection,
body.coming-soon-cursor-active .landing-case-study-new.acme-fraud-detection *,
body.coming-soon-cursor-active .landing-case-study-new.target-customer-experience,
body.coming-soon-cursor-active .landing-case-study-new.target-customer-experience *,
body.coming-soon-cursor-active .landing-case-study-new.asm-csa-gui,
body.coming-soon-cursor-active .landing-case-study-new.asm-csa-gui * {
    cursor: none;
}

.coming-soon-cursor-pill {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
}

.coming-soon-cursor-pill.is-visible {
    display: block;
}

.coming-soon-cursor-pill img {
    display: block;
    width: auto;
    height: 27px;
    max-width: 120px;
}

.landing-case-study-new.shopify-shop:hover {
    background-color: rgba(84, 51, 235, 0.04);
}

.landing-case-study-new.target-customer-experience:hover {
    background-color: rgba(204, 0, 0, 0.04);
}

.landing-case-study-new.acme-fraud-detection:hover {
    background-color: rgba(0, 161, 224, 0.04);
}

.landing-case-study-new.asm-csa-gui:hover {
    background-color: rgba(94, 70, 100, 0.04);  
}

.landing-case-study-new.hri-ed:hover {
    background-color: rgba(255, 184, 26, 0.04);
    padding: 2rem;
}

.landing-case-study-new:hover .case-study-cover-new {
    border: 0px;
}

.case-study-cover-new {
    border-radius: 1rem;
    overflow: hidden;
    padding: 2rem;
    background-color: white;
    border: 1px solid rgba(120, 120, 128, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.case-study-cover-new img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.case-study-cover-new video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sav-ai .case-study-cover-new {
    padding: 0;
}

.asm-csa-gui .case-study-cover-new {
    padding: 2rem;
    background-color: #5E4664;
}

/* Coming soon badge */
.asm-csa-gui .coming-soon-badge {
    background-color: rgba(253, 253, 150, 0.4);
    color: #FDFD96;
}

.asm-csa-gui .coming-soon-badge::before,
.asm-csa-gui .coming-soon-badge::after {
    background-color: #FDFD96;
}

.advantage-ai .cv-superhack {
    padding: 0;
    border-radius: 1rem;
    overflow: hidden;
    background-color: white;
    border: 2px solid rgba(120, 120, 128, 0.16);
}

.cv-superhack video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.case-study-details-new {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.case-study-details-new p {
    color: var(--fontColorBlack000);
    margin: 0;
}

.case-study-description {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 300ms ease, max-height 300ms ease;
}

.case-study-description p {
    color: #4D4F53;
}

.landing-case-study-new:hover .case-study-description {
    opacity: 1;
    max-height: 200px;
}

.case-study-title-container-new {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    gap: 16px;
}

.case-study-title-container-new h2 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--fontColorBlack000);
    margin: 0;
    flex: 1;
}

.tags-new {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.work-history {
    width: 80%;
    display: flex;
    gap: 2rem;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin: 4rem;
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeInUp 2s ease 1s forwards;
}

.work-history-icons {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.work-history-icons img {
    height: 1.2rem;
}

.title {
    font-size: 2rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeInUp 2s ease 1s forwards;
}

.work-container h2 {
    font-size: 2rem;
}

.work-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.work-container img {
    width: 200px;
}

.case-study-main-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    margin-top: 8rem;
}

.case-study {
    width: 80%;
    opacity: 0;
    transform: translateY(3rem);
    animation: fadeInUp 2s ease 1s forwards;
    border-radius: 20px;
    background: white;
    overflow: hidden;
    border: 1px solid rgba(120, 120, 128, 0.16);
}

.case-study a {
    color: var(--fontColorBlack000);
    text-decoration: none;
    text-decoration-color: white;
}

.case-study:hover a{
    cursor: pointer;
    text-decoration: none;
    opacity: 50%;
}

.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.coming-soon h1 {
    font-size: 2rem;
    font-weight: 500;
    color: #4D4F53;
}

.case-study-cover-home {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #fbfbfb;
    overflow: hidden;
}

.case-study-cover-home img {
    width: 100%;
    object-fit: cover;
    transition: all 300ms ease;
}

.case-study-title-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 -8px 16px 0 rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(120, 120, 128, 0.16);
    position: relative;
}

.case-study-title-container h1 {
    font-size: 24px;
    font-weight: 450;
    color: #333;
}

.case-study-title-container p1 {
    font-size: 16px;
    font-weight: 400;
    color: #4D4F53;
}

.case-study-title-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    padding: 16px;
    aspect-ratio: 1 / 1;
    position: absolute;
    left: 24px;
    top: -60px;
    border-radius: 999px;
    border: 0.24rem solid white;
    background-color: #F5F5F5;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-study-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 24px 24px 24px;
    /* border-top: 1px solid rgba(120, 120, 128, 0.16); */
}

.tags {
    padding: 6px 10px;
    border-radius: 999px;
    border: none;
    background-color: #f5f5f5;
    width: fit-content;
}

.tags p {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #5f6570;
    line-height: 1;
    white-space: nowrap;
}

.landing-case-study-new:hover .tags {
    background-color: #333333;
    border-color: #333333;
}

.landing-case-study-new:hover .tags p {
    color: #ffffff;
}

.case-study-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-study-title h1 {
    font-size: 2rem;
    font-weight: 600;
    color: rgb(53, 53, 53);
}

.case-study-title h1 span {
    font-size: 1.6rem;
    font-weight: 600;
    color: rgb(53, 53, 53);
    margin-left: 0.8rem;
}

/* NEW CASE STUDY */

#case-study h1{
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
}

#case-study h2{
    font-size: 1.6rem;
    font-weight: 600;
    color: #4D4F53;
}

#case-study h3{
    font-size: 0.8rem;
    font-weight: 600;
    color: #9e9e9e;
}

#case-study h4{
    font-size: 1rem;
    font-weight: 500;
    color: #9E9E9E;
}

#case-study p{
    font-size: 1.1rem;
    font-weight: 400;
    color: #333333;
}

#case-study p1{
    font-size: 0.8rem;
    font-weight: 400;
    color: #333333;
}

#case-study li {
    font-size: 0.9rem;
    font-weight: 400;
    color: #4D4F53;
    list-style: none;
    display: grid;
    grid-template-columns: 1rem 1fr;
    margin: .35rem 0;
}

#case-study li::before {
    content: '•';
    color: #4D4F53;
    font-size: 2rem;
    line-height: 0;
    display: flex;
    align-items: flex-start;
    padding-top: 0.55rem;
}

.case-study-landing {
    display:flex;
    margin: 2rem 0;
    border-radius: 20px;
    background-color: #f5f5f5;
    justify-content: space-between;
}

.case-study-new-landing-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 16rem;
    border-radius: 20px;
    background-color: #f9f9f9;
}

.case-study-new-landing-cover img {
    width: 100%;
    object-fit: cover;
}

.landing-gif {
    display: flex;
}

.landing-gif img {
    width: 100%;
    object-fit: cover;
}

.landing-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 2.4rem;
    padding: 4rem 0;
    height: fit-content;
    align-items: flex-start;
}

.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.landing-header img {
    height: 2rem;
    object-fit: contain;
}

.landing-text {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 0.4rem;
}

.landing-text h5 {
    font-size: 3rem;
    font-weight: 500;
    color: #333333;
}

#case-study .landing-text p {
    font-size: 1.6rem;
    font-weight: 500;
    color: #9E9E9E;
}

.role-overview {
    display: flex;
    gap: 2rem;
}

.project-overview-row {
    display: flex;
    justify-content: space-between;
    gap: clamp(2rem, 4vw, 4rem);
    flex-wrap: wrap;
    width: 100%;
    padding: 8rem 0;
}
.project-overview-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}
.project-overview-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c7c7c7;
}
.project-overview-value {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

.case-study-image {
    height: 500px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    object-fit: cover;
    /* opacity: 80%; */
}

.case-study-new-imgs {
    display: flex;
    align-items: center;
    padding-right: 2rem;
}

.case-study-new-imgs:hover .case-study-img1{
    translate: 0 -4px;
    transform: scale(1.08) rotate(-8deg); 
}

.case-study-new-imgs:hover .case-study-img2{
    translate: 0 -8px;
    transform: scale(1.16); 
}

.case-study-new-imgs:hover .case-study-img3{
    translate: 0 -4px;
    transform: scale(1.08) rotate(8deg); 
}

.case-study-new-imgs img {
    object-fit: cover;
    height: 300px;
    margin-left: -80px;
}

.case-study-img1 {
    z-index: 2;
}

.case-study-img2 {
    z-index: 3;
}

.case-study-img3 {
    z-index: 1;
}

#overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#challenge {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 4rem;
}

#challenge div {
    flex: 1;
}

.challenge-quote-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.challenge-quote-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(120, 120, 128, 0.25);
    flex-shrink: 0;
}

.challenge-quote-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#case-study .challenge-quote-text {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    color: #4D4F53;
    margin: 0;
}
.challenge-quote-attribution {
    font-size: 0.8rem;
    font-weight: 500;
    color: #9e9e9e;
    letter-spacing: 0.02em;
}

.content-rep-img img{
    width: 100%;
    object-fit: cover;
}



.annotated-img-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
}

.annotated-img-container img {
    width: 100%;
    object-fit: cover;
}

.core-issues {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
}

.user-feedback-container {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
}

.user-feedback-quote {
    padding: 1rem;
    flex: 1;
    border-radius: 0.4rem;
    border-left: 4px solid #B26F16;
    background: rgba(234, 171, 0, 0.08);
}

.user-feedback-quote p2 {
    font-style: italic;
    color: #B26F16;
}

.issue-identified {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    flex: 1;
    border-radius: 1rem;
    background-color: rgba(224, 79, 57, 0.08);;
}

.issue-identified h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
}

#case-study .issue-identified p {
    font-size: 1rem;
    font-weight: 400;
    color: #4D4F53;
}

.issue-identified span {
    font-size: 2rem;
    color: #E04F39;
}

.problem-statement-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 2rem 4rem;
    background-color: #fbfbfb;
    border-radius: 20px;
    border: 1px solid rgba(120, 120, 128, 0.16);
}

#case-study .problem-statement-container h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #007C92;
}

#case-study .problem-statement-container p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #4D4F53;
}

.problem-statement-container span {
    font-size: 2rem;
    font-weight: 400;
    color: #007C92;
    padding: 0.4rem;
}

.problem-hmw-heading {
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 124, 146, 0.16);
}

.problem-hmw-body {
    padding: 2rem 4rem;
    text-align: center;
}

.analytics-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    flex: 1;
    border-radius: 1rem;
    background-color: rgba(233, 131, 0, 0.08);
}

.analytics-container h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
}

#case-study .analytics-container p {
    font-size: 1rem;
    font-weight: 400;
    color: #4D4F53;
}

.analytics-container span {
    font-size: 2rem;
    color: #E98300;
}

.rec-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    flex: 1;
    border-radius: 1rem;
    background-color: #FBFBFB;
    border: 1px solid rgba(120, 120, 128, 0.16 );
}

.rec-container h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
}

#case-study .rec-container p {
    font-size: 1rem;
    font-weight: 400;
    color: #4D4F53;
}

.rec-container span {
    font-size: 2rem;
    color: #009B73;
}

.constraint-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    flex: 1;
    border-radius: 1rem;
    background-color: #FBFBFB;
    border: 1px solid rgba(120, 120, 128, 0.16 );
}

.constraint-container h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
}

#case-study .constraint-container p {
    font-size: 1rem;
    font-weight: 400;
    color: #4D4F53;
}

.constraint-container span {
    font-size: 2rem;
    color: #E04F39;
}

#business-goals {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#shopify-design {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#background {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#implementation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pinned-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
}

.pinned-img-container img {
    width: 36%;
    object-fit: cover;
}

.bg-systems-board {
    margin-top: 1.5rem;
    padding: 4rem;
    border-radius: 1.5rem;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.bg-systems-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem;
}

.bg-systems-card {
    background-color: #ffffff;
    border-radius: 0.8rem;
    padding: 2rem;
    border: 1px solid rgba(120, 120, 128, 0.16);
    min-height: 7rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bg-systems-card-logo {
    height: 1.8rem;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    padding-bottom: 3rem;
}

#case-study .bg-systems-card p {
    font-size: 1rem;
    line-height: 1.45;
    color: #4D4F53;
    margin: 0;
}

.section-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title-container img {
    height: 1.6rem;
}

.case-study-logo {
    height: 3rem;
    object-fit: contain;
}

.impact {
    display:flex;
    gap: 1rem;
    padding-top: 1rem;
}

.impact-item {
    width: 50%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(120, 120, 128, 0.24);
}

.case-study-details {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.org-details {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.org-details div {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.org-details h3 {
    padding: 0.4rem 0;
}

.deliverables {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.delivered-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid rgba(120, 120, 128, 0.16 );
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.02);
}

.delivered-item:hover {
    opacity: 50%;
    cursor: pointer;
}

.delivered-item img {
    width: 100%;
    object-fit: cover;
}

.delivered-item-description {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 16px;
    background-color: white;
    border-radius: 0 0 20px 20px;
}

#research {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #9E9E9E;
}

.approach-container {
    display: flex;
    justify-content: center;
}

.approach {
    height: 400px;
    width: 400px;
    border-radius: 9999px;
    border: 4px solid rgba(120, 120, 128, 0.16 );;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 8rem 0;
}

.discovery {
    position: absolute;
    top: -32px;
}

.discovery h4 {
    position: absolute;
    left: -20px;
    top: -40px;
}

.discovery:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.discovery:hover .discovery h4 {
    color: #007C92;
    cursor: pointer;
}

.insights {
    position: absolute;
    left: 16px;
    top: 32px;
}

.insights h4 {
    position: absolute;
    left: -100px;
    top: -20px;
}

.insights:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.insights:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.define {
    position: absolute;
    left: -32px;
}

.define h4 {
    position: absolute;
    left: -80px;
    top: 16px;
}

.define:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.define:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.define:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.design {
    position: absolute;
    left: 16px;
    bottom: 32px
}

.design h4 {
    position: absolute;
    left: -80px;
    bottom: -20px;
}

.design:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.design:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.design:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.test {
    position: absolute;
    bottom: -32px;
}

.test h4 {
    position: absolute;
    left: 12px;
    bottom: -36px;
}

.test:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.test:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.test:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.feedback {
    position: absolute;
    right: 16px;
    bottom: 32px;
}

.feedback h4 {
    position: absolute;
    right: -100px;
    bottom: -20px;
}

.feedback:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.feedback:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.document {
    position: absolute;
    right: -32px;
}

.document h4 {
    position: absolute;
    right: -120px;
    top: 16px;
}

.document:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.document:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.ship {
    position: absolute;
    right: 16px;
    top: 32px;
}

.ship h4 {
    position: absolute;
    right: -50px;
    top: -20px;
}

.ship:hover .dot{
    background-color: #007C92;
    cursor: pointer;
}

.ship:hover h4 {
    color: #007C92;
    cursor: pointer;
}

.dot {
    height: 64px;
    width: 64px;
    border-radius: 9999px;
    background-color: rgb(242, 242, 242);
    display: flex;
    justify-content: center;
    align-items: center;
}

#discover {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.research-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.research-quotes {
    margin-top: 2rem;
}

.quote-class {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.quote-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(120, 120, 128, 0.16 );
}

.quote-container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quote-container-header img {
    height: 1.6rem;
    object-fit: cover;
}

.person-avatar-marketing {
    width: 3rem;
    height: 3rem;
    background-color: #8C1515;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-avatar-design {
    width: 3rem;
    height: 3rem;
    background-color: #007C92;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-avatar-development {
    width: 3rem;
    height: 3rem;
    background-color: #009B76;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.person-details-container span {
    color: #FFFFFF80;
    font-weight: 600;
    font-size: 2rem;
}

.person-details-container {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.person-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

#case-study .person-details p{
    font-size: 1rem;
    font-weight: 600;
}

#insight {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-container {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.problem-content-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;
    padding: 24px;
    border-radius: 20px;
    background-color: #FBFBFB;
    border: 1px solid rgba(120, 120, 128, 0.16 );
}

.problem-container-tag {
    display: flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 8px;
    background-color: rgba(224, 79, 57, 0.16);
}

.problem-content {
    display: flex;
    flex-direction: column;
    padding-top: 0.8rem;
    gap: 0.2rem;
}

#case-study .problem-container-tag p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #E04F39;
}

#case-study .problem-container h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.opportunity-container {
    display: flex;
    margin: 2rem 8rem;
    background-color: #007C92;
    flex-direction: column;
    padding: 4rem;
    align-items: center;
    gap: 2rem;
    border-radius: 2rem;
}

#case-study .opportunity-container h4 {
    color: white;
}

#case-study .opportunity-container p {
    font-size: 2rem;
    font-weight: 200;
    text-align: center;
    color: white;
}

#define {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goals-illustration {
    height: 600px;
}

.goals-illustration img {
    height: 100%;
    object-fit: cover;
}

.goals-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding-bottom: 4rem;
}

.goals-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.goal-content-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;
    padding: 24px;
    border-radius: 20px;
    background-color: #FBFBFB;
    border: 1px solid rgba(120, 120, 128, 0.16 );
}

.goal-container-tag {
    display: flex;
    width: fit-content;
    padding: 4px 8px;
    border-radius: 8px;
    background-color: rgba(0, 155, 118, 0.16);
}

#case-study .goal-content-container h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

#case-study .goal-container-tag p {
    font-size: 0.8rem;
    font-weight: 600;
    color: #009B76;
}

#design {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#primitives {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.primitives-content {
    display: flex;
    gap: 2rem;
    margin: 4rem 0;
}

.primitive-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-radius: 8px;
    border: 1px solid rgba(120, 120, 128, 0.16 );
    overflow: hidden;
}

.primitive-image {
    height: 100%;
    display: flex;
    flex: 1;
    padding: 2rem 1rem;
    justify-content: space-around;
    align-items: center;
    background-color: #f5f5f5;
}

.primitive-image img {
    width: 100%;
    object-fit: cover;
}

.primitive-label {
    display: flex;
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(120, 120, 128, 0.16);
    background-color: white;
}

.primitive-color1 {
    height: 40px;
    width: 40px;
    border-radius: 4px;
    background-color: #8C1515;
}

.primitive-color2 {
    height: 40px;
    width: 40px;
    border-radius: 4px;
    background-color: #007C92;
}

.primitive-color3 {
    height: 40px;
    width: 40px;
    border-radius: 4px;
    background-color: #333333;
}

.primitive-icon {
    height: 40px;
    display: flex;
    flex: 1;
    padding: 2rem 1rem;
    justify-content: space-around;
    align-items: center;
    background-color: #f5f5f5;
}

.primitive-layout {
    width: 100%;
    display: flex;
    justify-content: center;
}

.primitive-layout img {
    width: 100%;
}

.typography-container {
    background-color: white;
    height: 64px;
    width: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid rgba(120, 120, 128, 0.16);
}

#primitives .typography-container p {
    font-size: 2rem;
    font-weight: 500;
}

.primitive-design-tokens {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.color-design-token {
    display: flex;
    gap: 4rem;
    padding: 4rem;
}

.color-design-token img {
    width: 100%;
}

#elements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.design-section-img-container {
    display: flex;
    padding: 2rem 8rem;
}

.design-section-img-container img {
    width: 100%;
}

#components {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#documentation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.documentation-puzzle-container {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    align-items: flex-start;
}

.description-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.4rem;
}

.documentation-img {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.documentation-images-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.document-img {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.document-img img {
    width: 100%;
}

.documentation-puzzle-container img {
    width: 100%;
}

#test {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 8rem;
}

.stress-test {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

#feedback {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#ship {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#takeaways {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-outcome-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2rem;
}

.focus-container {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.focus-card {
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#case-study .focus-card h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #333333;
}

#case-study .focus-card p {
    color: #9e9e9e;
    font-weight: 300;
}

.shop-compare-wrapper {
    margin-top: 2rem;
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 2rem 4rem;
    overflow-x: auto;
}

.shop-compare-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    min-width: 900px;
}

.shop-compare-cell {
    min-height: 2rem;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #dedede;
    border-bottom: 1px solid #dedede;
}

.shop-compare-cell:nth-child(6n) {
    border-right: none;
}

.shop-compare-cell:nth-last-child(-n + 6) {
    border-bottom: none;
}

.shop-compare-text {
    justify-content: flex-start;
    color: #4d4f53;
    font-size: 1rem;
    font-weight: 500;
}

.shop-compare-logo img {
    height: 1.5rem;
    width: auto;
    object-fit: contain;
}

.shop-compare-icon .material-symbols-rounded {
    color: #4D4F53;
    font-size: 1.3rem;
}

.shop-compare-legend {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.shop-compare-legend-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #4D4F53;
    font-size: 0.9rem;
}

.shop-compare-legend-item .material-symbols-rounded {
    color: #4D4F53;
    font-size: 1.1rem;
}

.shop-compare-legend-item:not(:last-child)::after {
    content: "|";
    color: #4D4F53;
    margin-left: 0.4rem;
}

.audience-pain-row {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.audience-pain-card {
    background-color: #f9f9f9;
    border-left: 0.35rem solid #9C83F8;
    border-radius: 0.4rem;
    padding: 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#case-study .audience-pain-card h3 {
    margin: 0;
    color: #333333;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.25;
}

#case-study .audience-pain-card p {
    margin: 0;
    color: #667085;
    font-size: 1.05rem;
    line-height: 1.35;
}

.opportunity-card-row {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.opportunity-card {
    border: 1px solid rgba(120, 120, 128, 0.16);
    border-radius: 0.8rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.opportunity-card-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.6rem;
    background-color: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opportunity-card-icon .material-symbols-rounded {
    color: #4D4F53;
    font-size: 1.25rem;
}

#case-study .opportunity-card h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: #3b3b3b;
    line-height: 1.25;
}

#case-study .opportunity-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #667085;
    line-height: 1.35;
}

.shopify-design-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.shopify-design-cards {
    margin-top: 0;
    display: flex;
    gap: 1rem;
}

.shopify-design-card {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 1rem;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shopify-design-card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

#case-study .shopify-design-card-content h5 {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #9E9E9E;
}

#case-study .shopify-design-card-content h3 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 500;
    color: #333333;
    line-height: 1.2;
}

#case-study .shopify-design-card-content p {
    margin: 0;
    font-size: 1rem;
    color: #4D4F53;
    line-height: 1.35;
}

.shopify-design-media {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shopify-design-media.shopify-features,
.shopify-design-media.shopifyfeatures {
    justify-content: flex-start;
}

.shopify-design-media img {
    width: auto;
    height: 580px;
    object-fit: contain;
    display: block;
}

/* MyHealth outcomes cards */
#ship .outcome-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

#ship .project-outcome-container {
    background-color: #f9f9f9;
    border-radius: 2rem;
    padding: 2rem;
    min-height: 16rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#ship .project-outcome-container h3 {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #7a7a7a;
    margin: 0 0 8rem 0;
}

#ship .project-outcome-container h1 {
    font-size: 3rem;
    line-height: 1;
    margin: 0 0 1rem 0;
    color: #1f1f1f;
}

#ship .project-outcome-container p {
    margin: 0;
    font-size: 0.9rem;
    color: #4d4f53;
}

/* AISOM */

.big-picture {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.big-picture img {
    width: 500px;
}

.shipped-gif-container {
    display: flex;
    padding: 2rem;
}

.shipped-gif-container img {
    width: 100%;
    object-fit: cover;
}

#stakeholders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stakeholder-img-container {
    display: flex;
    margin: 4rem;
}

.stakeholder-img-container img {
    width: 100%;
    object-fit: cover;
}

.requirements-goals {
    display: flex;
    gap: 4rem;
    padding: 4rem;
}

.outline-goal {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1rem;
}

#case-study .outline-goal h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #007C92;
}

#research-som {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.som-users {
    display: flex;
    gap: 4rem;
    padding: 4rem 0;
    justify-content: center;
    align-items: center;
}

.primary-user-som {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.primary-user-som img {
    width: 100%;
}

.lrg-img-container{
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lrg-img-container img {
    width: 100%;
    object-fit: cover;
}

.user-research-overview {
    display: flex;
    gap: 8rem;
}

.user-group {
    display: flex;
    flex: 1;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.user-metrics {
    padding-right: 2rem;
}

.experience-before {
    display: flex;
    gap: 2rem;
}

.experience-img-container {
    flex: 1;
}

.experience-img-container img {
    width: 100%;
}

#synthesis {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#som-ai-design {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.proposed-scope {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ab-testing {
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.ab-testing-img-container {
    display: flex;
    height: 400px;
}

.ab-testing-img-container img {
    width: 100%;
    height: auto;
}

.ab-testing-insights {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



/* Align bullet points with Insights and Recommendations labels */
.ab-testing-insights .problem-content-container,
.ab-testing-insights .goal-content-container {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ab-testing-insights .problem-content,
.ab-testing-insights .goal-content-container .problem-content {
    padding-top: 0.4rem;
    padding-left: 8px;
    margin: 0;
    list-style: disc;
    list-style-position: outside;
}

.ab-testing-insights .problem-content li,
.ab-testing-insights .goal-content-container .problem-content li {
    margin-left: 0;
    padding-left: 0.4em;
    display: list-item;
}

/* Align bullet points with Insights/Recommendations labels */
.ab-testing-insights .problem-content-container,
.ab-testing-insights .goal-content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ab-testing-insights .problem-content,
.ab-testing-insights .goal-content-container .problem-content {
    padding-left: 8px;
    margin-left: 0;
    padding-top: 0.4rem;
    list-style: disc;
    list-style-position: inside;
}

.ab-testing-insights .problem-content li,
.ab-testing-insights .goal-content-container .problem-content li {
    margin-left: 0;
    padding-left: 0;
    display: list-item;
}

/* Align bullet points with Insights and Recommendations labels */
.ab-testing-insights .problem-content-container,
.ab-testing-insights .goal-content-container {
    align-items: flex-start;
}

.ab-testing-insights .problem-container-tag,
.ab-testing-insights .goal-container-tag {
    margin-bottom: 0.2rem;
}

.ab-testing-insights .problem-content {
    padding-left: 8px; /* Align with first letter of label (tag has 8px horizontal padding) */
    padding-top: 0.2rem;
    margin: 0;
    list-style-position: inside;
}

.ab-testing-insights .problem-content li {
    margin-left: 0;
    padding-left: 0;
    list-style-type: disc;
    list-style-position: inside;
}

/* Align bullet points with Insights/Recommendations labels */
.ab-testing-insights .problem-content-container,
.ab-testing-insights .goal-content-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ab-testing-insights .problem-content,
.ab-testing-insights .goal-content-container .problem-content {
    padding-left: 8px;
    margin-left: 0;
    padding-top: 0.4rem;
    list-style-type: disc;
    list-style-position: inside;
}

.ab-testing-insights .problem-content li,
.ab-testing-insights .goal-content-container .problem-content li {
    margin-left: 0;
    padding-left: 0.25em;
    display: list-item;
}

/* Align bullet points with Insights/Recommendations labels */
.ab-testing-insights .problem-content-container,
.ab-testing-insights .goal-content-container {
    align-items: flex-start;
}

.ab-testing-insights .problem-content,
.ab-testing-insights .goal-content-container .problem-content {
    padding-left: 8px;
    padding-top: 0.4rem;
    margin-left: 0;
    width: 100%;
    box-sizing: border-box;
}

.ab-testing-insights .problem-content li,
.ab-testing-insights .goal-content-container .problem-content li {
    list-style: disc;
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;
}

/* Align bullet points with Insights and Recommendations labels */
.ab-testing-insights .problem-content-container,
.ab-testing-insights .goal-content-container {
    display: flex;
    flex-direction: column;
}

.ab-testing-insights .problem-content,
.ab-testing-insights .goal-content-container .problem-content {
    padding-left: 8px;
    padding-top: 0.4rem;
    margin-left: 0;
    list-style-type: disc;
    list-style-position: inside;
}

.ab-testing-insights .problem-content li,
.ab-testing-insights .goal-content-container .problem-content li {
    margin-left: 0;
    padding-left: 0;
    display: list-item;
}

#results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reflection-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

/* Use standard bullets and normal wrapped-text alignment in reflection */
#case-study #takeaways .reflection-container {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

#case-study #takeaways .reflection-container li {
    display: list-item !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    color: #4D4F53;
}

#case-study #takeaways .reflection-container li::before {
    content: none !important;
    display: none !important;
}

#case-study #takeaways .reflection-container li:last-child {
    margin-bottom: 0 !important;
}

/* PEPPER */
#pepper-environment {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#research-publication {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* GOOGLE */
.google-submission img {
    width: 8rem;
}

.pdf-card{
  position: relative;
  max-width: 1100px;
  margin: 1.5rem auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow042, 0 10px 30px rgba(0,0,0,.08));
  background: #f5f5f5;
}

#pdf-frame{
  display: block;
  width: 100%;
  height: clamp(420px, 100vh, 960px);
  border: 0;
}

.google-submission {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-view-project {
    width: fit-content;
    background-color: #333333;
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.4rem;
    cursor: pointer;
}

.btn-view-project:hover {
    background-color: #4D4F53;
    transform: translateY(-2px);
}

/* CASE STUDY PAGE */

.back-container{
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 300ms ease;
}

.back-container:hover {
    cursor: pointer;
}

.back-container:hover span {
    transform: translateX(-0.4rem) scale(1.1);
    color: var(--fontColorGray181);
}

.navigation-bar a {
    color: var(--fontColorBlack000);
    text-decoration: none;
    text-decoration-color: white;
}

.case-study-cover h1{
    font-size: 3rem;
    font-weight: 600;
    text-align: center;
}

.case-study-cover {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 4rem;
}

.case-study-gif-container {
    margin: 2rem 0;
}

.case-study-cover-image-container {
    display: flex;
    margin: 4rem 8rem;
    justify-content: center;
}

.case-study-cover-image-container img {
    height: 100%;
    object-fit: cover;
}

.project-overview-container {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    margin: 1rem 0;
}

.project-overview {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--fontColorGray085);
}

.small-divider {
    margin: 1rem 0;
    padding-top: 4rem;
}

.divider {
    border: none;
    height: 1px;
    background-color: var(--fontColorLGray);
}

.container-title {
    flex: 0 0 20%;
    max-width: 20%;
}

.container-description{
    max-width: 100%;
    display: flex;
    gap: 2rem;
}

.case-study-container {
    display: flex;
    gap: 4rem;
    margin: 6rem 0;
}

.ux-research, .ux-design {
    flex: 1;
}

.case-study-container h2 {
    font-size: 2rem;
}

.case-study-container h3 {
    color: var(--fontColorGray085);
    padding-bottom: 1rem;
}

.description p {
    margin-bottom: 1rem;
}

.description h3 {
    font-size: 1.6rem;
}

.description h4 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.description img {
    width: 100%;
    margin: 1rem 0;
    object-fit: cover;
}

.description li {
    margin-bottom: 0.4rem;
    /* padding-left: 2rem; */
}

.problem-and-goal-container {
    display: flex;
    gap: 4rem;
}

.problem-and-goal-container h4 {
    margin: 0;
}

.problem-and-goal-container h3 {
    margin-top: 2rem;
}

.big-catchy-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    padding-bottom: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
    box-shadow: var(--shadow042);
}

.description-success {
    list-style: none;
}

.description-success span {
    font-size: 2rem;
    color: var(--fontColorGray181);
    font-weight: 800;
    margin-right: 1rem;
}

.description-success li{
    display: flex;
    align-items: center;
    margin: 2rem 0;
}

.highlight-font {
    color: var(--fontColorGray181);
}

.quote-left {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1rem;
}

.quote-right {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}

.quote-right .quote-text {
    padding: 1rem;
    background-color: var(--fontColorLGray);
    border-radius: 1rem 1rem 0.25rem 1rem;
    margin-bottom: 3rem;
}

.quote-left .quote-text {
    padding: 1rem;
    background-color: var(--fontColorLGray);
    border-radius: 1rem 1rem 1rem 0.25rem;
    margin-bottom: 3rem;
}

.quote-right img, .quote-left img {
    width: 4rem;
}

.quote-right p, .quote-left p {
    font-style: italic;
    margin: 0;
}

.big-catchy-text h3 {
    font-size: 2rem;
}

.outcome-container {
    display: flex;
    gap: 2rem;
}

.outcome {
    flex: 1;
}

.outcome .material-symbols-rounded {
    font-size: 8rem;
}

.outcome h3 {
    font-size: 2rem;
    color: var(--fontColorBlack000);
}

.solution-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.solution-gif-container {
    display: flex;
}

.solution-gif-container img {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.solution-text-container {
    background-color: #f1f9e5;
    display: flex;
    justify-content: flex-start;
    height: 100%;
    max-width: 50%;
    padding: 1rem;
    border-radius: 1rem;
    gap: 0.8rem;
    box-shadow: var(--shadow042);
    align-items: center;
}

.solution-text-container p {
    margin-bottom: 0;
}

.solution-text-container h3{
    font-size: 2rem;
}

.solution-text-container h4{
    font-size: 1.6em;
}

.solution-details {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.header h1 {
    font-size: 4rem;
    font-weight: 600;
    color: var(--fontColorGray085);
    margin-bottom: 4rem;
}

.issues-section {
    display: flex;
    flex-direction: column;
}

.issues-section img {
    width: 100%;
    object-fit: cover;
    margin: 1rem 0;
}

.issues-section h4 {
    color: var(--fontColorGray085);
    margin: 1rem 0;
}

.competitive-matrix {
    display: flex;
}

.competitive-matrix img{
    width: 100%;
    object-fit: cover;
    margin: 1rem 0;
}

.task-analysis {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.task-analysis p {
    margin: 0;
}

.task {
    display: flex;
    background-color: var(--fontColorLGray);
    padding: 1rem;
    flex : 1;
    justify-content: center;
    border-radius: 2rem;
}

/* .carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 2rem;
    overflow: hidden;
    margin: 2rem;
    padding: 1rem 0;
    box-shadow: var(--shadow042);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel-imgs {
    display: flex;
    justify-content: center;

    transition: transform 0.5s ease-in-out;
    width: 100%;
    overflow: hidden;
}

.carousel-imgs img {
    flex: 0 0 calc(100% / var(--image-count));
    object-fit: cover;
} */

/* make this one a compact 4:3 carousel */
#carousel5{
    position: relative;
    width: min(100%, 640px);   /* max width = 640, shrink on small screens */
    aspect-ratio: 4 / 3;       /* 640:480 */
    border-radius: 1rem;
    overflow: hidden;          /* keep rounded corners clean */
    margin: 1rem auto;
    box-shadow: var(--shadow042);
}

/* inner pieces inherit the new height */
#carousel5 .carousel-container,
#carousel5 .carousel-imgs{ height: 100%; }

#carousel5 .carousel-imgs{
  display: flex;
  transition: transform .5s ease-in-out;
  /* width is set in JS; keep as-is */
}

#carousel5 .carousel-imgs img{
  flex: 0 0 calc(100% / var(--image-count)); /* one slide per view */
  width: 100%;
  height: 100%;
  object-fit: cover;   /* images are already 4:3, so no cropping */
}

#carousel5 .carousel-pagination{
  position: absolute;
  left: 50%;
  bottom: 12px;                       /* put it over the image */
  transform: translateX(-50%);
  display: flex;                       /* arrows + dots inline */
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;

  /* match your nav island look, with fallbacks */
  background: var(--island-bg, rgba(255,255,255,.85));
  border: 1px solid var(--island-border, rgba(120,120,128,.25));
  box-shadow: var(--island-shadow, 0 10px 30px rgba(0,0,0,.12));
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);

  z-index: 6;
  margin: 0; /* no extra flow spacing */
}

/* Arrows live *inside* the island now */
#carousel5 .prev,
#carousel5 .next{
  position: static;                    /* no absolute; sit in the pill */
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 0;
  display: grid; place-items: center;
  background: transparent;
  color: inherit;
  font-size: 22px;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

#carousel5 .prev:hover,
#carousel5 .next:hover{
  background: rgba(0,0,0,.06);
  transform: scale(1.06);
}

/* Dots between the arrows */
#carousel5 .pagination-dot{
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fontColorLGray);
  transition: all 250ms ease;
  cursor: pointer;
}
#carousel5 .pagination-dot.active{
  width: 26px;
  border-radius: 13px;
  background: var(--fontColorGray181);
}

/* Optional: subtle gradient at the bottom for contrast on busy photos */
#carousel5::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:56px;
  background: linear-gradient(to top, rgba(0,0,0,.22), transparent);
  pointer-events: none;
  z-index: 5; /* below the island but above the image */
}

/* .carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--fontColorGray181);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background all 300ms ease;
}

.carousel button:hover {
    background: var(--fontColorGray085);
    scale: 1.1;
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.carousel .carousel-pagination .pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--fontColorLGray);
    margin: 0 5px;
    cursor: pointer;
}

.carousel .carousel-pagination .pagination-dot.active {
    width: 30px;
    border-radius: 15px;
    background-color: var(--fontColorGray181);
    transition: all 300ms ease;
} */

.image-container {
    padding: 2rem;
}

.discount-testing {
    display: flex;
    gap: 2rem;
}

.list {
    flex: 1;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.list li {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.list h4 {
    margin-bottom: 1rem;
}

.qualtrics {
    display: flex;
}

.qualtrics img {
    width: 100%;
    object-fit: cover;
}

.findings-container {
    display: flex;
    gap: 2rem;
}

.findings {
    flex: 1;
}

.findings span {
    font-size: 4rem;
    padding: 1rem;
    color: var(--fontColorGray181);
}

.usability-findings {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.usability-findings span{
    font-size: 2rem;
}

.usability-findings li{
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
}

.process-container {
    display: flex;
    gap: 2rem;
}

.process {
    flex: 1;
}
.process span {
    font-size: 4rem;
}

.process h3 {
    font-size: 2rem;
    color: black;
}

.process p {
    font-size: 0.8rem;
}

.goals_tasks {
    flex: 1;
}

.process-flow {
    display: flex;
    flex-direction: column;
}

.process-flow img{
    width: 100%;
}

.process-flow p {
    font-size: 0.8rem;
}

.wireframes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.wireframes img {
    width: 200px;
}

.wireframe-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fun-gif img {
    width: 40rem;
    object-fit: cover;
    border-radius: 1rem;
    margin: 2rem 0;
}

.fun-gif {
    display: flex;
    justify-content: center;
    align-items: center;
}

.annotated {
    display: flex;
    padding: 2rem 0;
}

.annotated img{
    width: 100%;
}

.sanitized_solution {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sanitized_solution img {
    width: 80%;
}

.annotated-sanitized {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.annotated-sanitized img{
    width: 100%;
}

.wireframe-addin-container {
    display: flex;
    align-items: center;
}

.wireframe-addin-container img {
    width: 25%;
}

.feature-prioritization {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature {
    padding: 1rem;
    background-color: var(--fontColorBlack000);
    color: var(--backgroundColor);
    border-radius: 0.5rem;
}

/* DOTNET */
.results-container {
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
}

.results {
    flex: 1;
}

.results .material-symbols-rounded {
    font-size: 8rem;
}
.addIn-recording-container img{
    max-width: 100%;
}

/* DESIGN SYSTEM */
.anatomy-system-design {
    display: flex;
    margin: 2rem;
}

.anatomy-system-design img {
    width: 100%;
}

.tokens {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin : 2rem;
    gap: 1rem;
}

.design-token {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.design-token h4 {
    font-size: 1.2rem;
    color: var(--fontColorBlack000);
}

.color-token {
    display: flex;
    background-color: var(--fontColorLGray);
    padding: 1rem;
    border-radius: 0.8rem;
    gap: 0.4rem;
    align-items: center;
}

.color-box {
    width: 1rem;
    height: 1rem;
    border-radius: 0.4rem;
    background-color: #343a40;
}

.token-button {
    padding: 1rem 4rem;
    background-color: #343a40;
    color: white;
    border-radius: 0.4rem;
}

/* .design-token {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 4rem 20rem;
    gap: 2rem;
} */

/* .design-token img {
    width: 100%;
    object-fit: cover;
} */

.scalability {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 4rem 10rem;
    gap: 2rem;
}

.scalability img {
    width: 100%;
    object-fit: cover;
}

.documentation-color {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.documentation-color img {
    width: 100%;
    object-fit: cover;
}

.documentation {
    padding: 2rem 4rem;
    margin: 2rem;
    background-color: var(--fontColorLGray);
    border-radius: 1rem;
}

.documentation li{
    list-style: none;
}

.color-palette {
    display: flex;
    padding-bottom: 2rem;
    padding-top: 1rem;
}

.swatch {
    flex: 1;
}

.hex {
    font-weight: 400;
}

.color-name {
    font-weight: 600;
}

.semantic-color-container {
    display: flex;
    gap: 1rem;
}

.primary-red {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #d52b1e;
    padding: 1rem 1rem;
    gap: 2rem;
}

.primary-red-variant {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #af261b;
    padding: 1rem 1rem;
    gap: 2rem;
}

.white {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--fontColorBlack000);
    background-color: #ffffff;
    padding: 1rem 1rem;
    gap: 2rem;
}

.lightGray {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--fontColorBlack000);
    background-color: #f8f9fa;
    padding: 1rem 1rem;
    gap: 2rem;
}

.gray {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #6c757d;
    padding: 1rem 1rem;
    gap: 2rem;
}

.darkGray {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #343a40;
    padding: 1rem 1rem;
    gap: 2rem;
}

.black {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #000000;
    padding: 1rem 1rem;
    gap: 2rem;
}

.green {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #28a745;
    padding: 1rem 1rem;
    gap: 2rem;
}

.green-dark {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #1E7E34;
    padding: 1rem 1rem;
    gap: 2rem;
}

.green-light {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--fontColorBlack000);
    background-color: #D4EDDA;
    padding: 1rem 1rem;
    gap: 2rem;
}

.orange {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #fd7e14;
    padding: 1rem 1rem;
    gap: 2rem;
}

.orange-dark {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #c0560b;
    padding: 1rem 1rem;
    gap: 2rem;
}

.orange-light {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--fontColorBlack000);
    background-color: #ffe5d0;
    padding: 1rem 1rem;
    gap: 2rem;
}

.red {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #dc3545;
    padding: 1rem 1rem;
    gap: 2rem;
}

.red-dark {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #a71d2a;
    padding: 1rem 1rem;
    gap: 2rem;
}

.red-light {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--fontColorBlack000);
    background-color: #f8d7da;
    padding: 1rem 1rem;
    gap: 2rem;
}

.blue {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #0078a3;
    padding: 1rem 1rem;
    gap: 2rem;
}

.blue-dark {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--backgroundColor);
    background-color: #005a79;
    padding: 1rem 1rem;
    gap: 2rem;
}

.blue-light {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: var(--fontColorBlack000);
    background-color: #d0ecf5;
    padding: 1rem 1rem;
    gap: 2rem;
}

.font-token {
    display: flex;
    gap: 2rem;
}

.token-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.token-container h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--fontColorGray085);
    margin-top: 1rem;
}

.global-token-container {
    display: flex;
    padding: 0.5rem 1rem;
    background-color: var(--backgroundColor);
    border-radius: 0.4rem;
    border: var(--fontColorGray085) 0.12rem solid;
    margin-top: 1rem;
}

/* .primary-brand-red {
    color: white;
    font-weight: 600;
    background-color: #e31f26;
    padding: 3rem 1rem;
} */

.designButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 1rem 2rem;
    border-radius: 8px;
    background-color: var(--fontColorBlack000);
    color: var(--backgroundColor);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.try-Buttons {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 1rem 0;
}

.trial-button-default, .trial-button-hover {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 4rem;
    border: var(--fontColorBlack000) 0.2rem solid;
    padding: 1rem 2rem;
    color: var(--backgroundColor);
    background-color: var(--fontColorBlack000);
    border-radius: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.trial-button-hover:hover {
    background-color: var(--fontColorGray085);
    border: var(--fontColorGray085) 0.2rem solid;
    cursor: pointer;
}

.trial-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: fit-content;
    padding: 0.2rem;
    border: var(--sanJoseBlue) 0.2rem solid;
    border-radius: 0.8rem;
}

.trial-button-focus {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 4rem;
    border: var(--fontColorGray085) 0.2rem solid;
    padding: 1rem 2rem;
    color: var(--backgroundColor);
    background-color: var(--fontColorGray085);
    border-radius: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.trial-button-press {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 4rem;
    border: var(--fontColorGray181) 0.2rem solid;
    padding: 1rem 2rem;
    color: var(--backgroundColor);
    background-color: var(--fontColorGray181);
    border-radius: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

.trial-button-disabled {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    width: 4rem;
    border: var(--fontColorGray181) 0.2rem solid;
    padding: 1rem 2rem;
    color: var(--fontColorGray181);
    background-color: var(--fontColorLGray);
    border-radius: 0.4rem;
    font-size: 1rem;
    font-weight: 600;
}

/* SIGNAGE */

.case-study-image-container img {
    border-radius: 2rem;
    object-fit: cover;
}

.signage-content-images {
    display: flex;
}

.signage-content-images img {
    max-width: 50%;
    object-fit: cover;
}

.signage-images img {
    max-width: 100%;
    object-fit: cover;
}

/* PLAYGROUND */

.design-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    margin: 4rem 0;
}

.design-gif-container {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.design-gif {
    display: flex;
    justify-content: center;
    background-color: var(--fontColorLGray);
    padding: 1rem;
    border-radius: 2rem;
}

.design-gif-content {
    display: flex;
    justify-content: space-between;
}

.timeline {
    font-weight: 600;
}


.photo-gallery {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.photo-memory {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.photo-memory img {
    max-height: 20rem;
    object-fit: cover;
    border-radius: 1rem;
}

/* ABOUT — editorial page (about.html); beige canvas only on this page */
body.about-page {
    background-color: var(--pageBackground);
    color: #333333;
}

html:has(body.about-page) {
    background-color: var(--pageBackground);
}

body.about-page nav,
body.about-page #hamburger-nav,
body.about-page .menu-links,
body.about-page #footer {
    background-color: var(--pageBackground);
}

body.about-page .about-editorial {
    padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(4rem, 10vw, 6rem);
}

body.about-page .about-editorial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 42rem) minmax(0, 1fr);
    grid-template-areas: "left main right";
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: start;
    width: 100%;
    max-width: min(72rem, 100%);
    margin-left: auto;
    margin-right: auto;
}

body.about-page .about-editorial-main {
    grid-area: main;
    min-width: 0;
}

body.about-page .about-editorial-gallery--left {
    grid-area: left;
}

body.about-page .about-editorial-gallery--right {
    grid-area: right;
}

body.about-page #case-study.about-editorial h1.about-editorial-title {
    font-family: "Fraunces", Georgia, "Times New Roman", serif;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

body.about-page #case-study.about-editorial .about-editorial-body p {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
    color: #333333;
    margin-bottom: 1.35rem;
}

body.about-page #case-study.about-editorial .about-editorial-body p:has(+ .about-editorial-list) {
    margin-bottom: 0.5rem;
}

body.about-page #case-study.about-editorial .about-editorial-body .about-editorial-list {
    margin: 0 0 1.35rem 0;
    padding-left: 1.35rem;
    list-style-type: disc;
}

body.about-page #case-study.about-editorial .about-editorial-body li {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
    color: #333333;
    display: list-item;
    list-style-type: disc;
    margin: 0 0 0.35rem 0;
}

body.about-page #case-study.about-editorial .about-editorial-body li:last-child {
    margin-bottom: 0;
}

body.about-page #case-study.about-editorial .about-editorial-body li::before {
    content: none;
    display: none;
}

body.about-page #case-study.about-editorial .about-editorial-outro {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-top: 0.25rem;
}

body.about-page .about-editorial-gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.35rem);
    min-width: 0;
    align-self: start;
    position: sticky;
    top: max(5rem, calc(env(safe-area-inset-top, 0px) + 4.5rem));
    padding-inline: clamp(0.35rem, 5.5%, 0.9rem);
    box-sizing: border-box;
}

body.about-page .about-editorial-shot {
    margin-inline: auto;
    margin-block: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
    transform-origin: center center;
}

body.about-page .about-editorial-shot img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

/* Left rail — mixed tilt + scale so tiles stay inside the column */
body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(1) {
    max-width: 94%;
    transform: rotate(-3.5deg) scale(0.97);
}
body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(1) img {
    aspect-ratio: 4 / 5;
}

body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(2) {
    max-width: 78%;
    transform: rotate(2.8deg) scale(0.92);
}
body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(2) img {
    aspect-ratio: 1 / 1;
}

body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(3) {
    max-width: 88%;
    transform: rotate(1.6deg) scale(0.95);
}
body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(3) img {
    aspect-ratio: 3 / 4;
}

body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(4) {
    max-width: 72%;
    transform: rotate(-2.4deg) scale(0.9);
}
body.about-page .about-editorial-gallery--left .about-editorial-shot:nth-child(4) img {
    aspect-ratio: 5 / 6;
}

/* Right rail */
body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(1) {
    max-width: 86%;
    transform: rotate(3.2deg) scale(0.94);
}
body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(1) img {
    aspect-ratio: 4 / 5;
}

body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(2) {
    max-width: 100%;
    transform: rotate(-2.2deg) scale(0.98);
}
body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(2) img {
    aspect-ratio: 1 / 1;
}

body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(3) {
    max-width: 76%;
    transform: rotate(2.1deg) scale(0.89);
}
body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(3) img {
    aspect-ratio: 3 / 5;
}

body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(4) {
    max-width: 91%;
    transform: rotate(-1.9deg) scale(0.96);
}
body.about-page .about-editorial-gallery--right .about-editorial-shot:nth-child(4) img {
    aspect-ratio: 4 / 6;
}

/* ABOUT ME */

.about-me-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.about-me-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 8rem 4rem;
}

.about-experience {
    display: flex;
    flex-direction: column;
    padding-bottom: 8rem;
    margin: 0 2rem;
}

.about-experience h2 {
    padding: 2rem 1rem;
}

.work-experience {
    display: flex;
    justify-content: space-between;
    margin: 0 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid lightgrey;
}

.bold {
    font-weight: 600;
}

.new-about {
    display: flex;
    flex-direction: column;
}

.about-section {
    display: flex;
    align-items: center;
}

.about-me-img-left {
    flex: 1;
    margin: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    transform: translate3d(0,0,0) rotate(4deg);
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
}

.about-me-img-left:hover {
    translate: 0 -4px;
    transform: scale(1.08) rotate(16deg);
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.16);
}

.about-me-img-right {
    flex: 1;
    margin: 4rem;
    border-radius: 0.8rem;
    overflow: hidden;
    transform: translate3d(0,0,0) rotate(-4deg);
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.08);
}

.about-me-img-right:hover {
    translate: 0 -4px;
    transform: scale(1.08) rotate(-16deg);
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.16); 
}

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

.about-me-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 4rem;
    padding: 1.5rem 3rem 3rem 3rem;
    border-top: 3rem solid #F3E06E;
    background-color: #F7EBA3;
}

.work-ex-logo:hover {
    cursor: pointer;
    opacity: 50%;
    translate: 0 -4px;
    transform: scale(1.08) rotate(8deg); 
}

/* MORE PROJECTS  */

.more-projects {
    display: flex;
    gap: 4rem;
}

.more-projects a {
    text-decoration: none;
    color: var(--fontColorBlack000);
    font-weight: 500;
    font-size: 1.2rem;
}

.project-container {
    margin: 2rem 0;
    flex: 1;
    max-width: 300px;
}

.project-container-img {
    display: flex;
    align-items: center;
    background-color: var(--fontColorLGray);
    border-radius: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    object-fit: cover;
    min-width: 100px;
    aspect-ratio: 1 / 1;
    transition: all 300ms ease;
}

.project-container:hover .project-container-img {
    transform: scale(1.1);
}

.project-container:hover .material-symbols-rounded {
    transform: translateX(0.4rem) scale(1.1);
    color: var(--fontColorGray181);
}

.project-container:hover .project-title-container {
    transform: translateY(1rem);
}

.project-title-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* VIDEO COVERLETTER */

.video-container {
    max-width: 800px;
    width: 100%;
    margin: auto;
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* UNDER CONSTRUCTION*/

.under-construction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60vh;
    gap: 2rem;
    margin: 4rem;
}


/* FOOTER */

#footer {
    padding: 20px;
    color: var(--fontColorBlack000);
    /*clear: both;*/
    padding: 4rem 0;
    background-color: var(--backgroundColor);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.social-links a i {
    color: var(--fontColorBlack000);
    transition: all 300ms ease-in;
    font-size: 1.6rem;
}

.social-links a i:hover  {
    transform: scale(1.1);
}

#footer a {
    color: var(--fontColorLGray);
    font-weight: 600;
    transition: all 300ms ease;
}

#footer a:hover {
    transform: scale(1.1);
}

.ip {
    color: var(--fontColorBlack000);
}

#footer h1 {
    font-size: 2rem;
    font-weight: 500;
}

#footer p {
    font-size: 1rem;
    font-weight: 400;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 6rem;
}

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

.last-updated {
    color: var(--fontColorGray181);
}

.email {
    font-size: 1rem;
    font-weight: 600;
    color: var(--fontColorBlack000);
    background-color: var(--backgroundColor);
    border-radius: 0.4rem;
    border-color: var(--fontColorBlack000);
    border: 0.1rem solid;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.6rem;
    margin-bottom: 2rem;
}

.email:hover {
    cursor: pointer;
    background-color: var(--fontColorBlack000);
    color: var(--backgroundColor);
    border-color: var(--backgroundColor);
}

.email span {
    font-size: 1rem;
    font-weight: 600;
}

#footer a {
    text-decoration: none;
    display: flex;
    width: fit-content;
}

/* CURSOR BLINK */
@keyframes cursorBlink {
    50% {
        color: transparent;
    }
}

/* ANIMATION FADING UP*/
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes moveUpDown {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(8px); /* Move 50px down */
    }
    100% {
      transform: translateY(0); /* Come back to original position */
    }
}

/* Hover effects */

